You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we use the Bootstrap popover plugin to position hover cards to the right of the trigger text. The middle of the trigger text is aligned with the middle of the hover card. However, we want to position the hover card differently. From the release criteria for v2024.3:
I should normally see the infocard appear to the right of the link or menu entry, with the top of the card aligned to the top of the trigger text
If there isn’t room on the right, I should see it on the left.
If there isn’t room onscreen (without needing to scroll) to fit the height of the card, I should see the bottom of the card 3-4px above the bottom of the browser viewport
I think we should probably wait to do this until we've replaced the Bootstrap plugin with Floating UI: see getodk/central-frontend#984. Alternatively, maybe we don't need to use the Popover component in the HoverCards component. Maybe we could use Floating UI directly in HoverCards instead.
The text was updated successfully, but these errors were encountered:
Right now, we use the Bootstrap popover plugin to position hover cards to the right of the trigger text. The middle of the trigger text is aligned with the middle of the hover card. However, we want to position the hover card differently. From the release criteria for v2024.3:
I think we should probably wait to do this until we've replaced the Bootstrap plugin with Floating UI: see getodk/central-frontend#984. Alternatively, maybe we don't need to use the
Popover
component in theHoverCards
component. Maybe we could use Floating UI directly inHoverCards
instead.The text was updated successfully, but these errors were encountered: