Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popover property to hide popover when hovering over popover itself #2326

Closed
pbr4ne opened this issue Feb 1, 2022 · 0 comments
Closed

Popover property to hide popover when hovering over popover itself #2326

pbr4ne opened this issue Feb 1, 2022 · 0 comments
Labels
feature request New feature or request

Comments

@pbr4ne
Copy link
Contributor

pbr4ne commented Feb 1, 2022

This function solves the problem (这个功能解决的问题)

When choosing a trigger of hover for a popover, if you hover over the popover itself it doesn't disappear.

It is sometimes desirable for the popover to disappear when you leave the trigger body and also disappear when you hover over the popover body. I have a use case where I have many buttons with popovers in close proximity to each other, and it is frustrating to users when trying to move the mouse over those buttons, because the popovers get in the way.

Expected API (期望的 API)

Add new hover-nonsticky option to Popover property trigger

or

Add new Popover property of hover-sticky with a default of true

@github-actions github-actions bot added the feature request New feature or request label Feb 1, 2022
jaulz pushed a commit to jaulz/naive-ui that referenced this issue Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant