Skip to content

Update dependency react-resizable-panels to ^4.21.0 - #782

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-resizable-panels-4.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-resizable-panels-4.x

Conversation

@renovate

@renovate renovate Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Diffend Pending
react-resizable-panels (source) ^4.9.0 → ^4.21.0 age adoption passing confidence Diff 4.24.1 (+4)

Release Notes

bvaughn/react-resizable-panels (react-resizable-panels)

v4.21.0

Compare Source

  • Add TabsetCollapseButton and TabsetMaximizeButton components, which collapse and maximize the tabset they're rendered within. - #​805
  • The children, className, style, and title props of TabCloseButton, TabsetDragHandle, and the new buttons can be functions of the component's state. - #​805
  • Fix groupResizeBehavior: "preserve-pixel-size" panels drifting by a fraction of a pixel at fractional display scaling (e.g. 150%). - #​804

v4.20.0

Compare Source

  • Add floating Workspace tabsets (the model's new floating field), which users can move, resize, and drag tabs into and out of. The new floatTab and floatTabset methods create them, and moveTabset docks them. - #​799
  • Workspace tabs (and tabsets) can be dropped at the edges of the workspace, beside all of the other tabsets (e.g. as a sidebar or bottom panel). These targets are on by default; turn them off with disableDrop={({ target }) => "edge" in target}. - #​800

[!WARNING]
TabDropTarget has a new { edge } variant without a tabsetId, so check for it (e.g. with "tabsetId" in target) before reading target.tabsetId.

v4.19.1

Compare Source

  • Improve resizing and dragging performance, e.g. Panels without an onResize prop are no longer observed, and dragging a Workspace tab only re-renders what changes. - #​798
  • Remove development-only warnings from production builds. - #​798
  • With a dragGroup, disableDrop is now called when the drop target changes, rather than on every dragover event. - #​798

[!WARNING]
The library now reads process.env.NODE_ENV (like React does), so it must be loaded with a bundler (or a CDN like esm.sh) that defines it.

v4.19.0

Compare Source

  • Add the Workspace onTearOff prop, called when a tab (or tabset) is dropped outside of the window (e.g. to open it in a popup). Returning true removes it, reported with the new "tear-off" reason. - #​794
  • Add the Workspace dragGroup prop, which lets tabs be dragged between workspaces (including in popup windows and other copies of the app), reported with the new "transfer" reason. disableDrop is passed a new source argument. - #​794
  • Fix the drop indicator for an empty Workspace. - #​796
  • The Workspace drop indicator is now a single element for the whole drag, so it can be animated between tabsets (e.g. transition: inset 250ms). - #​793

[!WARNING]
The drop indicator (data-drop-indicator) is no longer a child of a tabset's panels, so selectors like [data-tab-panels] > [data-drop-indicator] should be changed to [data-drop-indicator].

v4.18.1

Compare Source

  • Fix the free space in a Workspace tab list not going down once the tab list is squeezed to 0px. - #​792
  • Fix Workspace interactions in right-to-left layouts (dragging tabs within tab lists, arrow keys, and the left and right drop regions). - #​791

v4.18.0

Compare Source

  • Add normalizeWorkspaceModel, which checks and tidies a saved model (returning null if it isn't valid); its mapTab option updates saved tabs. - #​790
  • Add the free space in each Workspace tab list (e.g. for an overflow menu): the useTabListFreeSpace hook, the getTabListFreeSpace and subscribeToTabListFreeSpace methods, and the --tab-list-free-space custom property. - #​790
  • Add maxWidth and maxHeight to Workspace tabsets. - #​790
  • Fix Workspace tabsets that don't fit their minimum sizes being shown collapsed with their content rendered; they're now collapsed to fit (see useParentTabsetState().isCollapsedToFit) without changing the model. - #​790
  • The default tabset drag preview shows how many other tabs are being dragged (e.g. "One (+2)"). - #​789

v4.17.0

Compare Source

  • Add dragging whole tabsets within a Workspace, by the empty space in their headers or by a TabsetDragHandle. Also adds the moveTabset method, the renderTabsetDragPreview prop, and a disableDrag flag for tabsets. - #​785
  • Add collapsible Workspace tabsets (the collapsible flag), collapsed by dragging a separator or with the collapseTabset and expandTabset methods. - #​787
  • Add the Workspace tabRemovalSelectionBehavior prop, which selects the adjacent tab (default) or the most recently selected one ("recent") when the selected tab is removed. - #​786

[!WARNING]
The tab argument passed to disableDrop may now be undefined (when an empty tabset with the keepWhenEmpty flag is dragged).

v4.16.1

Compare Source

  • Add a split entry to the Workspace classNames and styles props; its CSS gap adds space between tabsets. - #​783
  • Fix dragging a Workspace separator ending after a few pixels. - #​782
  • Fix Workspace tabset and split element ids colliding with other elements on the page. - #​784
  • Fix pressing a tab at the edge of a tabset (in a Workspace without separators) both resizing the tabset and dragging the tab. - #​784

v4.16.0

Compare Source

  • Add Workspace component, for layouts of tabsets that users can rearrange by dragging tabs. The layout is described by a serializable model, and tab content isn't remounted when a tab is moved. - #​780
  • Fix separators moving farther (or less far) than the pointer within CSS zoom or scale transforms. - #​780
  • Fix separators staying in their "hover" state over iframes in popup windows. - #​778
  • Fix the resizePreviewMode="separator" preview missing the separator's styles in popup windows. - #​781

v4.15.3

Compare Source

  • Fix unused components (e.g. Grid) not being removed by some bundlers (e.g. esbuild). - #​779

v4.15.2

Compare Source

  • Fix vh, vw, and em panel sizes being resolved against the global window rather than the panel's own window (e.g. a popup or iframe). - #​777

v4.15.1

Compare Source

  • Declare @types/react as an optional peer dependency, so that strict package linkers (e.g. pnpm, Yarn PnP) can resolve it. - #​776

v4.15.0

Compare Source

  • Add useParentGroup, useParentPanel, and useParentGrid hooks, which return the nearest Group, Panel, or Grid (including its imperative API). - #​775
  • Imperative Panel and GridTrack resize(), collapse(), and expand() calls (and double-clicking a separator) now take space from the nearest panels that can absorb it on either side, rather than only the adjacent panel, so they no longer silently do nothing or collapse other panels. - #​774
  • expand() expands to the largest size that fits (if at least minSize) when restoring the panel's most recent size would collapse another panel. - #​774
  • Fix releasing the pointer after dragging between panels without a Separator clicking the element under it. - #​774

v4.14.8

Compare Source

  • Fix a "Stacking order can only be calculated for elements with a common ancestor" error when a pointermove event's target is removed from the DOM. - #​771
  • Fix setLayout(), resize(), collapse(), and expand() using the previous group size's pixel constraints when called before the group's ResizeObserver ran. - #​770

v4.14.7

Compare Source

  • Improve mount performance for groups with many panels by skipping redundant constraint recalculations and subscriber notifications when a Panel's disabled prop has not changed. - #​768

v4.14.6

Compare Source

  • Fix F6 and Shift+F6 keyboard navigation trying to focus disabled separators. Disabled separators are now skipped. - #​767

v4.14.5

Compare Source

  • Group, Panel, Separator, Grid, and Cell only render an explicit id (or data-testid) as data-testid - #​766
  • Empty string id prop is now treated the same as an undefined value and falls back to useId - #​766
  • Panel with an id of 0 is now properly treated as an explicit id value - #​766

v4.14.4

Compare Source

  • Fix pointer events in one document affecting groups mounted in another (e.g. a popup window). The resize cursor is now only shown in the document that contains the active group. - #​762
  • Fix an error thrown by an onLayoutChange, onLayoutChanged, or onResize callback leaving a drag stuck in the active state or preventing other groups from being updated. The error is now re-thrown once all groups have been updated. - #​763

v4.14.3

Compare Source

  • Fix drags interrupted by "pointercancel", "lostpointercapture", or the window losing focus (e.g. Alt/Cmd+Tab) staying active until the next pointer event. The drag now ends and commits the current layout. - #​761

v4.14.2

Compare Source

  • Fix constraints derived from stale panel and separator order by re-sorting them first. - #​759

v4.14.1

Compare Source

  • Fix constraints applied because of a Group size change (e.g. a pixel-based minSize when the window is small) permanently altering the layout. The requested layout is now restored once the constraint no longer applies. - #​720
    • Add a requestedLayout attribute to the onLayoutChanged meta. useDefaultLayout and useDefaultGridLayout persist this value instead of the constrained layout.

v4.14.0

Compare Source

  • Add Grid, Cell, and Gridline components for resizable two-dimensional layouts: - #​756
    • Columns and rows support the same size constraints as Panels (e.g. min/max size, collapsible).
    • Cells can span multiple columns and/or rows.
    • Dragging where column and row boundaries intersect resizes both axes.
    • Gridlines (optional, like Separators) can span a subset of tracks to avoid spanning cells.
  • Add useDefaultGridLayout, useGridRef, and useGridCallbackRef hooks. - #​756

v4.13.3

Compare Source

  • Fix a Separator behind a modal <dialog> being draggable. - #​755

v4.13.2

Compare Source

  • Fix Separator retaining focus after a drag. - #​751
  • Fix Panel order in environments like jsdom with invalid offset values. - #​753

v4.13.1

Compare Source

  • Bug fixes: - #​750
    • Fix reordered layout keys mapping to the wrong constraints by matching layout values to panel IDs.
    • Fix an edge case "Matching panels not found" error by preserving keyboard mappings for disabled separators.
    • Fix the default layout being ignored when an initially hidden group becomes visible.
    • Calculate the available group size once per hit-testing pass instead of once per hit region.
    • Fix onLayoutChanged not firing when pressing elsewhere on the page or resizing another group.

v4.13.0

Compare Source

  • Add a customizable resize preview mode. - #​746
  • Add a configurable collapse threshold to Panel. - #​749

v4.12.4

Compare Source

  • Fix capturing the pointer for a detached Separator. - #​743
  • Fix Separator ARIA values to use the correct panel indices. - #​741

v4.12.3

Compare Source

  • Guard CSSStyleSheet construction to avoid throwing in unsupported environments. - (leo-yang-qiong - #​730)
  • Fix the equality check for derived Panel constraints. - #​736
  • Fix orphaned groups in a "pointerup" edge case. - (waterWang - #​732)

v4.12.2

Compare Source

  • Update inline documentation to clarify size units. - #​726

v4.12.1

Compare Source

  • Fix a context menu event (right click) occurring while a pointer resize is active. - #​723

v4.12.0

Compare Source

  • Pass meta info to the onLayoutChanged callback indicating whether the resize was triggered by direct user input (keyboard or mouse). - #​716
  • Add an onlySaveAfterUserInteractions option to the useDefaultLayout hook to only save layouts when directly triggered by user interactions. - #​721

v4.11.2

Compare Source

  • Fix rem-based sizes to be calculated relative to the owner document (not body). - #​719

v4.11.1

Compare Source

  • Fix an edge case SSR bug for panels with defaultSize={0}. - #​715

v4.11.0

Compare Source

  • Support the :focus-visible pseudo-class for Separator. - #​712
  • Fix edge cases when collapsing the last panel. - #​703
  • Improve legacy browser support for global stylesheets. - #​711

v4.10.0

Compare Source

  • Add data-separator="focus" state for Separator elements for more consistent custom CSS styles. - #​705

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies This updates dependency files label Nov 6, 2026
@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/pictor/-/pipelines/3071649468

Status: Passed
Duration: 4 minutes

Job summaries

storybook:build

Storybook available at https://code0-tech.gitlab.io/-/development/pictor/-/jobs/18051454160/artifacts/storybook-static/index.html

@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from a8e9d0e to 6dd98db Compare November 7, 2026 21:21
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.15.3 Update dependency react-resizable-panels to ^4.16.0 Nov 7, 2026
@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from 6dd98db to 9ed2f50 Compare November 8, 2026 16:55
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.16.0 Update dependency react-resizable-panels to ^4.16.1 Nov 8, 2026
@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from 9ed2f50 to 68c0ca2 Compare November 10, 2026 05:53
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.16.1 Update dependency react-resizable-panels to ^4.17.0 Nov 10, 2026
@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from 68c0ca2 to b3228dd Compare November 11, 2026 06:53
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.17.0 Update dependency react-resizable-panels to ^4.18.0 Nov 11, 2026
@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from b3228dd to f968d16 Compare November 12, 2026 03:42
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.18.0 Update dependency react-resizable-panels to ^4.18.1 Nov 12, 2026
@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from f968d16 to 6ae930c Compare November 13, 2026 20:17
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.18.1 Update dependency react-resizable-panels to ^4.19.1 Nov 13, 2026
@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from 6ae930c to 1e19895 Compare November 15, 2026 14:35
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.19.1 Update dependency react-resizable-panels to ^4.20.0 Nov 15, 2026
@renovate
renovate Bot force-pushed the renovate/react-resizable-panels-4.x branch from 1e19895 to cc8102a Compare November 16, 2026 01:44
@renovate renovate Bot changed the title Update dependency react-resizable-panels to ^4.20.0 Update dependency react-resizable-panels to ^4.21.0 Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies This updates dependency files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant