Open
Description
Code of conduct
- I agree to follow this project's code of conduct.
Impacted component(s)
overlay-trigger
Expected behavior
I can listen to sp-closed
on overlay-trigger
and only get close events for that trigger
Actual behavior
If I use sp-action-menu or sp-picker in the overlay rendered by overlay-trigger
, closing these menus also triggers sp-closed
for the outer menu. It does look like I can match the event.target
to the original trigger button, but I could see this really throwing people for a loop.
How can we reproduce this issue?
I can look at getting a simpler reproduction when I have a bit more time.