Open nomve opened 4 months ago
My guess is it's something with the animations of both elements, so I was able to "fix" it by stopping the click event from bubbling from the menu-item. It works for me in this case, but it's not ideal in general. But anyway, hope it helps someone.
A setTimeout on the panel.show() also works too...curious... π€
A setTimeout on the panel.show() also works too...curious... π€
that's a better fix, thanks. My workaround prevents the menu from getting closed when clicked.
@KonnorRogers this doesn't happen in Web Awesome. It's likely related to the JS animation stuff, which I reworked to use CSS animations in 3.0.
We'll welcome a PR if anyone has the time to investigate it further, but just know that this bug has been fixed in the next major.
Describe the bug
Drawer exhibits an unusual animation when triggered from an element inside Dropdown.
To Reproduce
Steps to reproduce the behavior:
<sl-drawer>
Demo
https://codepen.io/nomve-the-encoder/pen/LYoLoOb
Browser / OS
Additional information