-
Hello! I am using react to create an I created a codepen displaying this behaviour here https://codepen.io/modmuss50/pen/LYOOGGL This pen is forked from the code provides on the details docs page. The expected behaviour would be for the drawer to not close when the details pane is closed. I believe the issue is related to Please let me know if you need any more info. Thanks in advance for the help. 👍 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
This is almost certainly due to the drawer not checking the event target. (Both components emit the I’m converting this to a bug to track. Thanks for reporting it! |
Beta Was this translation helpful? Give feedback.
-
I just happen to observe said behaviour when nesting two Are you sure that this is not in fact a bug? |
Beta Was this translation helpful? Give feedback.
-
This is intentional, and very similar to how other events such as |
Beta Was this translation helpful? Give feedback.
This is almost certainly due to the drawer not checking the event target. (Both components emit the
sl-after-hide
event.)I’m converting this to a bug to track. Thanks for reporting it!