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

ButtonMenu should expose "open" event #410

Open
petemill opened this issue Sep 29, 2023 · 1 comment
Open

ButtonMenu should expose "open" event #410

petemill opened this issue Sep 29, 2023 · 1 comment

Comments

@petemill
Copy link
Member

If a <leo-button-menu> only shows on some css condition (e.g. hover of a parent), when it opens it's easy for the user to mouse-out and hide the menu. If we exposed whether the menu is open or not (perhaps via an event), then the consumer could keep it visible whilst open.

cc @nullhook @fallaciousreasoning

@fallaciousreasoning
Copy link
Collaborator

Seems sensible to me - might also be sensible to expose some of the floating-ui config for changing the menu placement & behavior too

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

2 participants