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

When wrapping a <sl-menu-item> default slot with HTML, the submenu controller can render inconsistently. #1815

Closed
KonnorRogers opened this issue Jan 11, 2024 · 1 comment
Labels
bug Things that aren't working right in the library.

Comments

@KonnorRogers
Copy link
Collaborator

Describe the bug

Sometimes, when there is HTML in menu item with a submenu, it can cause one submenu to render on top of the other submenu instead of closing the submenu.

To Reproduce

Go to the following Codepen:

https://codepen.io/paramagicdev/pen/KKEgYJv?editors=1000

and hover between the last two items. It's inconsistent, but noticeable.

Demo

https://codepen.io/paramagicdev/pen/KKEgYJv?editors=1000

Video

2024-01-11.16-45-38.mp4

Browser / OS

  • OS: [Mac OS Ventura 13.3]
  • Browser: [Chrome, Firefox, Safari]
  • Browser version: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

2 participants