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
Reproduction of faulty click outside dismissing behavior (see video below):
Create an alert in a popover
Dismiss the alert by clicking outside
Reproduction of faulty ESC dismissing behavior (see video below):
Create an alert (canEscapeKeyCancel=false) in a popover (canEscapeKeyCancel=true)
Use ESC should not dismiss the alert. However it dismissed the popover, consequentially dismissed its children alert.
NOTE: in thi MRE I have to manually dismiss all popover to reproduce this error.
Actual behavior
The dismissing behavior is buggy
faulty click outside:
ESC dismissing problem:
Expected behavior
For clicking outside, with only a single click, only the topmost alert should be dismissed;
For ESC dismissing, if the topmost popover has canEscapeKeyCancel=False, ESC should not dismiss its parent overlays
Possible solution
Need a solution. I presume that the problem lies in the hierachy of nodes. i.e., clicking on the backdrop of the topmost alert did not stop it propagate to the parent backdrop.
The text was updated successfully, but these errors were encountered:
Environment
Code Sandbox
[[Link to a minimal repro (fork this code sandbox): ](https://codesandbox.io/p/devbox/confident-thompson-zhvzw4?workspaceId=55dc2776-ce66-4b8f-93aa-1823e6666f9e)
](https://codesandbox.io/p/devbox/confident-thompson-zhvzw4?workspaceId=55dc2776-ce66-4b8f-93aa-1823e6666f9e)
Steps to reproduce
Reproduction of faulty click outside dismissing behavior (see video below):
Reproduction of faulty ESC dismissing behavior (see video below):
NOTE: in thi MRE I have to manually dismiss all popover to reproduce this error.
Actual behavior
The dismissing behavior is buggy
faulty click outside:
ESC dismissing problem:
Expected behavior
For clicking outside, with only a single click, only the topmost alert should be dismissed;
For ESC dismissing, if the topmost popover has canEscapeKeyCancel=False, ESC should not dismiss its parent overlays
Possible solution
Need a solution. I presume that the problem lies in the hierachy of nodes. i.e., clicking on the backdrop of the topmost alert did not stop it propagate to the parent backdrop.
The text was updated successfully, but these errors were encountered: