-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Added ability to close and open sidebar by resizing it #5006
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
Conversation
@winston-de Is the resize janky on your end? |
Yeah a bit, I thought it may have just been my computer. I'll try and improve it. |
Not sure how possible it is, but it feels like the sidebar resizing should snap to the closed state, when dragged below a minimum width. If there is also a maximum width, the same should probably apply after the threshold is reached, when resizing outward. |
That's what it does now, unless I'm misunderstanding what you're saying.
I don't quite understand what you mean by this.... |
@yaichenbaum It looks like the jankiness was already there before this PR. I think it's caused by binding directly to the |
Interesting, it must have been introduced with all the recent refactoring around the sidebar, I'm glad we found it now! |
@winston-de are you still working on this? |
Yes, I'll have it done in a bit. |
Alright I think I fixed the jankiness. |
@winston-de Can you resolve the merge conflicts and test these changes with the keyboard? |
Resolved / Related Issues
Items resolved / related issues by this PR.
Details of Changes
Add details of changes here.
Validation
How did you test these changes?
Screenshots (optional)
2021-05-23-185548.mp4