[X] I agree to follow this project's code of conduct.
Impacted component(s)
sp-overlay
Expected behavior
When we have a modal overlay open, adding another auto, modal, or page overlay should not close the initial overlay. [FIXED IN LATEST VERSION]
When a modal overlay is not an ancestor of a click event, such as when there's another modal overlay on top and there was a click outside of both overlays (on the underlay), neither overlay should close.
Actual behavior
When we have a modal overlay open, adding another overlay will close the initial overlay.
When a modal overlay is not an ancestor of a click event, it will close.
Code of conduct
Impacted component(s)
sp-overlay
Expected behavior
When we have a modal overlay open, adding another auto, modal, or page overlay should not close the initial overlay. [FIXED IN LATEST VERSION]
When a modal overlay is not an ancestor of a click event, such as when there's another modal overlay on top and there was a click outside of both overlays (on the underlay), neither overlay should close.
Actual behavior
When we have a modal overlay open, adding another overlay will close the initial overlay.
When a modal overlay is not an ancestor of a click event, it will close.
See https://github.com/adobe/spectrum-web-components/discussions/4463.
Screenshots
No response
What browsers are you seeing the problem in?
Firefox, Chrome, Safari, Microsoft Edge
How can we reproduce this issue?
Expected: The initial modal dialog does not close.
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response