You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it will not reproduce if the drawer placement is something other than "end" (e.g. "start")
weirdly it does not happen always in my code base, but I was not able to figure out why because the same components sometimes trigger it and sometimes not. The one where it happened for me was a drawer that had the dropdown inside of it that again opened a new drawer. I was surprised I could reproduce it with the simple case on codepen
I could also reproduce it with some weird combinations of elements (not that I would expect it to work normally), like: dropdown with two triggers and the second one directly opening the drawer
The text was updated successfully, but these errors were encountered:
nomve
added
the
bug
Things that aren't working right in the library.
label
Jun 7, 2024
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.
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
The text was updated successfully, but these errors were encountered: