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

Delay Before Popover Disappears (especially for cascading menus) #149

Open
cmdcolin opened this issue Nov 8, 2024 · 0 comments
Open

Delay Before Popover Disappears (especially for cascading menus) #149

cmdcolin opened this issue Nov 8, 2024 · 0 comments

Comments

@cmdcolin
Copy link

cmdcolin commented Nov 8, 2024

Currently, if you mouseover outside of a cascading menu for just a brief second, it closes the menu. It might be desirable to keep the menu open though

This thread titled "Delay Before Popover Appears" is kind of the inverse of this question: how can we add a delay before the popover (and specifically, the level of cascading menu that you are at) disppears?

The comment #85 (comment) gives some leads that maintaing timers in refs is probably helpful. I thought specifically just debouncing the isOpen flag of the popover state would help but I think we have to maintain some timers with refs like in that comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant