-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Clicking on LeftPanel when in any settings page should exit settings #5658
Comments
This used to be the case, back when the faded sidebars where click-through-able |
oh. The faded UI is disabled with CSS Instead, we could have a store that controls whether the left/right panels are disabled and then not do things when the UI is disabled. |
For clarity, the desired behaviour is for a click on the faded room list or llp ("outside of the modal") should close settings ("dismiss the modal"). So the first click outside of the settings pane will dismiss settings, but the click will not pass through to the underlying element. |
By wrapping them in another div and only disabling pointer events on the inner div. Fixes element-hq/element-web#5658
Capture the clicks in LoggedInView and dismiss the settings view, then discard the click event. Remove `pointer-events: none` so we can capture the click. Fixes element-hq/element-web#5658
Just do it by fixing the somewhat hacky logic to not break if the target elements also have additional classes, like they do if the toolbar is showing (I think it turns out this bug is only that it doesn't work with the toolbar showing...) Fixes element-hq/element-web#5658
Rather than forcing the user to go hunt for the (X) button
The text was updated successfully, but these errors were encountered: