[X] I agree to follow this project's code of conduct.
Impacted component(s)
Overlay
Expected behavior
When using the sp-overlayimperative API to create a custom right-click menu, the notImmediatelyClosable prop is supposed to prevent a pointerup event from closing the Overlay. However, any subsequent left click should close the overlay.
Actual behavior
This is working fine on Mac, but, on Windows, the pointerup event is firing before the contextmenu event that is used to trigger the menu open. So it needs 2 clicks to close the custom menu.
Code of conduct
Impacted component(s)
Overlay
Expected behavior
When using the
sp-overlay
imperative API to create a custom right-click menu, thenotImmediatelyClosable
prop is supposed to prevent apointerup
event from closing the Overlay. However, any subsequent left click should close the overlay.Actual behavior
This is working fine on Mac, but, on Windows, the
pointerup
event is firing before thecontextmenu
event that is used to trigger the menu open. So it needs 2 clicks to close the custom menu.Screenshots
https://github.com/adobe/spectrum-web-components/assets/7351026/9fa5f923-fc81-4d58-b9c9-41f3f8ac77c6
What browsers are you seeing the problem in?
Chrome, Microsoft Edge
How can we reproduce this issue?
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response