Skip to content
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

Allow resizing sidebar #63

Open
kylesferrazza opened this issue May 12, 2020 · 3 comments · May be fixed by #64
Open

Allow resizing sidebar #63

kylesferrazza opened this issue May 12, 2020 · 3 comments · May be fixed by #64
Labels
enhancement New feature or request

Comments

@kylesferrazza
Copy link
Collaborator

Let the user set the size of the expanded sidebar.

https://github.com/STRML/react-resizable may be useful

@kylesferrazza
Copy link
Collaborator Author

Setting

resize: horizontal;
overflow: auto;

on the sidebar is already promising - just need to work out how to disable animations while the user is resizing.

@kylesferrazza kylesferrazza linked a pull request May 12, 2020 that will close this issue
@kylesferrazza kylesferrazza linked a pull request May 12, 2020 that will close this issue
@kylesferrazza
Copy link
Collaborator Author

May be easier to just have three presets: small, 20%, and 50%.

@blerner
Copy link
Contributor

blerner commented May 12, 2020

(As it currently stands, using max-width and min-width seem to cause non-smooth transitions; sticking with width alone seems smoother.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants