-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Fixed size panel during container resize #195
Comments
This doesn't sound like a use case I want to support. It sounds pretty niche (and I think supporting it in the library would be pretty complicated). Good luck though! |
Fair enough. I am surprised it's niche, because it's precisely what VS Code does, but the lack of other requests for this suggests you're right. |
That's true! First time I've heard of it though. :) |
I'm looking for the exact same functionality, would be great if this were possible. |
This is not a feature I have any plans to support. (Not saying it's unreasonable, just that I don't have time/energy to support it.) |
I'm surprised this is niche as well! I've been looking for a way to do this for a collapsable sidebar. Any chance plans to support this have changed? |
Nope. Not a use case I’ve ever had. |
Thank you for this library. It very nearly does everything needed for the application I'm working on. One thing missing is the ability to have a panel whose absolute size does not change when its container is resized. VS Code's side bar is a good example of this, as illustrated in #114. The requirement is:
I've tried to do this using a
ResizeObserver
,getSize
andresize
; it pretty much works but the resizer wobbles a bit as you resize, and it feels dirty given that the library also has aResizeObserver
doing a similar job. I'd make an example on CodeSandbox but its latest version of the library is 0.0.37. This is the kind of thing I tried:Could a better implementation be added to the library or is there a better way to do this now?
The text was updated successfully, but these errors were encountered: