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

Panel doesn't respect minSizePixels when resizing window #231

Closed
itsjackgardner opened this issue Dec 12, 2023 · 2 comments
Closed

Panel doesn't respect minSizePixels when resizing window #231

itsjackgardner opened this issue Dec 12, 2023 · 2 comments

Comments

@itsjackgardner
Copy link

You can force a panel to be smaller then the designated minSizePixels by resizing the window, this causes some snap jank when going to resize the panel afterwards.

Reproduction steps:

  1. Use a pixel based layout: https://react-resizable-panels.vercel.app/examples/pixel-based-layouts
  2. Give a panel a minSizePixels
  3. Resize window to force the panel to be smaller than it's min size
Screen.Recording.2023-12-12.at.11.36.11.am.mov
@bvaughn
Copy link
Owner

bvaughn commented Dec 12, 2023

Hey @itsjackgardner. I've decided to drop pixel support. There are just too many edge cases, and I don't need that functionality in any of my apps. I've been preparing v1.0 release (#230) but I'm not quite finished with it yet. Hopefully soon.

@bvaughn
Copy link
Owner

bvaughn commented Dec 12, 2023

I am going to close this issue since it won't be relevant in the v1.0 release. I'm sorry the pixel experiment didn't pan out but I just don't have the time/energy to maintain that much of an API. Thanks for understanding. 🙇🏼

@bvaughn bvaughn closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants