-
-
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
The right-pane keeps re-opening itself on window resize #8772
Comments
Hmm, so far I can't seem to reproduce this. Do I need to first open a specific right pane, does it happen with any of them? |
Can only reproduce it when making the window so small that the right-hand pane gets auto-hidden. Did some triaging, and the problem lies in In In the same file, that action results in the This then propagates down, eventually showing the panel again. However, there's no check at either of these points about whether the panel was originally open or closed. Because when the panel is explicitly closed by the user, it just dispatches a generic If the panel were to be auto-closed, then it would dispatch the exact same action (in The solution would be to:
I don't know whether there are any other parts of the codebase being touched by this that I'm not aware of. That should probably be checked by someone more familiar with the code than me :) |
Description
The right pane (listing members, files and notifications for a given room) keeps re-opening itself after being closed when the window is resized, when it should instead keep its last user-decided state.
Something similar is happening to the left pane (listing rooms), which is made narrow instead of keeping its width.
Steps to reproduce
Version information
The text was updated successfully, but these errors were encountered: