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
I was trying to implement the functionality to open a popover on hover and close it when the mouse leaves on desktop so users don't have to click on it nor click anywhere else to close it.
I would like to keep the option to open/close on tap for mobile devices.
Does anyone have a suggestion on how this should be done correctly?
Edit: I know that Navigation Menu's have this functionality, but the element I'm trying to create is not in a navigation menu, it's a standalone component.
A similar discussion (#1162) was opened but it's for the Dropdown Menu. I'm thinking about having it for Popovers as well.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I was trying to implement the functionality to open a popover on hover and close it when the mouse leaves on desktop so users don't have to click on it nor click anywhere else to close it.
I would like to keep the option to open/close on tap for mobile devices.
Does anyone have a suggestion on how this should be done correctly?
Edit: I know that Navigation Menu's have this functionality, but the element I'm trying to create is not in a navigation menu, it's a standalone component.
A similar discussion (#1162) was opened but it's for the Dropdown Menu. I'm thinking about having it for Popovers as well.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions