-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Click-area for dismissing popups is incorrect #23288
Comments
This is exactly the case. To the OS, the popup is just another window. We make the window a bit larger than the popup, so that we can use the remaining space to draw the shadow. But that remaining space still belongs to the popup window, so when clicking on the popup window, the click event will be sent to that window, and not to the window beneath it. This bug became particularly apparent while working on #18436 (that is why I have already thought about it so much). |
Description
When a popup is open, it cannot be dismissed by clicking in a certain radius around it. It should be dismissed by clicking anywhere outside of the popup bounds.
Perhaps the shadow or area reserved for the triangle arrow is causing this issue.
popup-dismiss.mov
The text was updated successfully, but these errors were encountered: