-
Notifications
You must be signed in to change notification settings - Fork 7
fix(Layout): nested layouts with resizable panels #989
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 50d10fe The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📦 NPM canary releaseDeployed canary version 0.0.0-canary-2cfc177. |
🧪 Storybook is successfully deployed!
|
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Note
Medium Risk
Changes core
Layout/Layout.Panelrendering and context plumbing (including portal-based DOM placement), which can affect panel positioning, resize behavior, and mount timing across the app.Overview
Fixes nested
Layoutusage so panels in child layouts no longer register against or resize the parent layout, by splittingLayoutContextinto actions/state/refs contexts and updatingLayoutContextResetto fully null out nested providers.Switches
Layout.Panelto render via React portals into a newPanelContainercreated byLayout(instead of relying on direct-child heuristics), including a container-ready gate to avoid rendering before the portal target exists; tests are expanded to cover nested layouts, resizable independence, and wrapped/styled panels. A patch changeset is added and new context exports are exposed fromLayout/index.tsx.Written by Cursor Bugbot for commit 50d10fe. This will update automatically on new commits. Configure here.