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

Normalize layouts not totalling to 100% #228

Closed

Conversation

tsufiev
Copy link

@tsufiev tsufiev commented Dec 7, 2023

Resolves #227

Copy link

vercel bot commented Dec 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-resizable-panels ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2023 3:59pm

@bvaughn
Copy link
Owner

bvaughn commented Dec 10, 2023

Thanks for this! I've cherry-picked it into the upcoming release branch (#230)

@bvaughn bvaughn closed this Dec 10, 2023
bvaughn added a commit that referenced this pull request Dec 13, 2023
Checklist:
- [x] Remove pixel size constraints
- [x] Replaced `dataAttributes` prop with ...rest (to support all
HTMLAttributes)
- [x] Review and pull in changes from open PRs:
  - [x] #228
  - [x] #224
- [x] Audit open issues and close ones that are no longer releveant
- [x] Remove any unnecessary async initialization logic necessitated by
pixel constraints

I think this library's feature set is stable enough in my mind for a 1.0
release. It might be controversial but I have decided to cut pixel-based
constraints from that release as they added too much complexity to the
initialization and validation logic.

---------

Co-authored-by: Timur Sufiev <timur.sufiev@revolut.com>
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

Successfully merging this pull request may close these issues.

When total sum of persisted panel sizes differs from 100, no resize is possible
2 participants