Repository navigation
Update dependency react-resizable-panels to v4 - #9469
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
from
April 29, 2026 15:40
050b108 to
2d70620
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9469 +/- ##
===========================================
+ Coverage 69.15% 83.42% +14.26%
===========================================
Files 637 638 +1
Lines 38505 38537 +32
Branches 3466 3407 -59
===========================================
+ Hits 26630 32150 +5520
+ Misses 11481 6236 -5245
+ Partials 394 151 -243 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
from
May 1, 2026 18:29
2d70620 to
2c3871d
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
3 times, most recently
from
May 16, 2026 01:08
68162b9 to
dc10ed3
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
from
May 18, 2026 10:14
dc10ed3 to
1305de7
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
4 times, most recently
from
June 1, 2026 16:40
9738c8b to
4e1fa33
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
from
June 2, 2026 23:31
4e1fa33 to
47984eb
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
2 times, most recently
from
June 11, 2026 08:48
5fbeff3 to
84cb4b4
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
2 times, most recently
from
July 1, 2026 18:52
941c6cf to
9893778
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
2 times, most recently
from
July 12, 2026 12:45
4c36989 to
8b7d80c
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
3 times, most recently
from
July 20, 2026 14:57
a300397 to
c8a9058
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
2 times, most recently
from
July 30, 2026 18:44
df68ae2 to
a104362
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
from
August 12, 2026 03:38
a104362 to
7705503
Compare
✅ Deploy Preview for treeherder ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
from
August 14, 2026 17:14
7705503 to
dd4f8e6
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
2 times, most recently
from
August 26, 2026 14:59
e0a032d to
598d58f
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
5 times, most recently
from
September 9, 2026 12:39
442b084 to
b970897
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
2 times, most recently
from
September 15, 2026 09:54
e41e370 to
ff9625a
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
6 times, most recently
from
September 27, 2026 01:27
b40c8bd to
436d4bf
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
4 times, most recently
from
October 5, 2026 20:49
d201543 to
f1e6949
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
4 times, most recently
from
October 16, 2026 02:31
0667155 to
9bb632a
Compare
renovate
Bot
force-pushed
the
renovate/react-resizable-panels-4.x
branch
from
October 20, 2026 16:54
9bb632a to
98bff24
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.6→4.14.5Release Notes
bvaughn/react-resizable-panels (react-resizable-panels)
v4.14.5Compare Source
Group,Panel,Separator,Grid, andCellonly render an explicitid(ordata-testid) asdata-testid- #766idprop is now treated the same as an undefined value and falls back touseId- #766Panelwith anidof0is now properly treated as an explicitidvalue - #766v4.14.4Compare Source
onLayoutChange,onLayoutChanged, oronResizecallback 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. - #763v4.14.3Compare Source
"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. - #761v4.14.2Compare Source
v4.14.1Compare Source
Groupsize change (e.g. a pixel-basedminSizewhen the window is small) permanently altering the layout. The requested layout is now restored once the constraint no longer applies. - #720requestedLayoutattribute to theonLayoutChangedmeta.useDefaultLayoutanduseDefaultGridLayoutpersist this value instead of the constrained layout.v4.14.0Compare Source
Grid,Cell, andGridlinecomponents for resizable two-dimensional layouts:Panels (e.g. min/max size, collapsible).Gridlines (optional, likeSeparators) can span a subset of tracks to avoid spanning cells.useDefaultGridLayout,useGridRef, anduseGridCallbackRefhooks.v4.13.3Compare Source
Separatorbehind a modal<dialog>being draggable. - #755v4.13.2Compare Source
Separatorretaining focus after a drag. - #751Panelorder in environments like jsdom with invalidoffsetvalues. - #753v4.13.1Compare Source
"Matching panels not found"error by preserving keyboard mappings for disabled separators.onLayoutChangednot firing when pressing elsewhere on the page or resizing another group.v4.13.0Compare Source
Panel. - #749v4.12.4Compare Source
Separator. - #743SeparatorARIA values to use the correct panel indices. - #741v4.12.3Compare Source
CSSStyleSheetconstruction to avoid throwing in unsupported environments. - (leo-yang-qiong - #730)Panelconstraints. - #736"pointerup"edge case. - (waterWang - #732)v4.12.2Compare Source
v4.12.1Compare Source
v4.12.0Compare Source
onLayoutChangedcallback indicating whether the resize was triggered by direct user input (keyboard or mouse). - #716onlySaveAfterUserInteractionsoption to theuseDefaultLayouthook to only save layouts when directly triggered by user interactions.v4.11.2Compare Source
v4.11.1Compare Source
defaultSize={0}. - #715v4.11.0Compare Source
:focus-visiblepseudo-class forSeparator. - #712v4.10.0Compare Source
data-separator="focus"state forSeparatorelements for more consistent custom CSS styles. - #705v4.9.0Compare Source
disableDoubleClickprop toSeparatorto enable turning off the double-click size reset behavior. - #702v4.8.0Compare Source
useDefaultLayouthook to the version 4 format. See issue #605 for details on how this works. - #699v4.7.6Compare Source
Panelaria-disabledattribute withdata-disabled. - #698v4.7.5Compare Source
defaultSizeprop. - #696v4.7.4Compare Source
v4.7.3Compare Source
PanelAPI. - #690v4.7.2Compare Source
v4.7.1Compare Source
v4.7.0Compare Source
groupResizeBehaviorprop toPanel, enabling panels to retain their current size (in pixels) when the parentGroupis resized. - #677v4.6.5Compare Source
adoptedStyleSheets(to better support environments like jsdom). - #670v4.6.4Compare Source
v4.6.3Compare Source
v4.6.2Compare Source
Groupagainst layouts with mis-orderedPanelid keys. - #660v4.6.1Compare Source
PanelandGroupAPIs ignoredisabledstatus when resizing panels. This is an explicit override of the disabled state and is required to support conditionally disabled groups. - #658cursor: not-allowedstyle onSeparatorif the parentGrouphas cursors disabled. - #658v4.6.0Compare Source
PanelandSeparatorcomponents to be disabled. - #657v4.5.9Compare Source
useForceUpdatewithuseSyncExternalStoreto avoid swallowing"click"events in certain cases. - #649GroupmethodsetLayoutnot persisting the layout to the in-memory cache. - #654v4.5.8Compare Source
v4.5.7Compare Source
Panelchange from 4.5.3 that was disabled in 4.5.6. - #646Separatorhover state not being reset onDocument"pointerout". - #648v4.5.6Compare Source
v4.5.5Compare Source
aria-orientationattribute from the rootGroupelement, as this was invalid according to the ARIA spec. For more information see the discussion on issue #640. - #641Panelregression introduced in 4.5.3. - #642v4.5.4Compare Source
Panelre-renders in response to mouse-hover state. - #638v4.5.3Compare Source
Panelmax-widthandmax-heightto 100%. - #631v4.5.2Compare Source
SeparatorandPaneledges, and make it configurable via a newGroupprop. - #626v4.5.1Compare Source
grabmovecol-resizeew-resizerow-resizens-resizev4.5.0Compare Source
SeparatorandPaneledge hit-area padding with a minimum size threshold based on Apple's user interface guidelines. Separators that are large enough will no longer be padded; separators that are too small (or panels without separators) will more or less function like before. This should not have much of a user-facing impact other than an increase in the click target area. (Previously I was not padding enough, as per Apple's guidelines.) - #616Panelto its default size when its associatedSeparatoris double-clicked (see video below). Double-clicking has no effect on panels without default sizes. - #615, #620adoptedStyleSheetsbeing overridden. - #618Demo of double-clicking on a separator:
dbl-click.mov
v4.4.2Compare Source
"pointermove"event has low-precision/roundedclientXandclientYvalues. - #610v4.4.1Compare Source
Panelnot treatingdefaultSize={0}as collapsed on mount. - #600v4.4.0Compare Source
onLayoutChangedprop toGroup. - #599For layout changes caused by pointer events, this method is not called until the pointer has been released. This callback should be used if you're doing something like saving a layout as it is called less frequently than the previous approach.
The
useDefaultLayouthook has also been updated to use this callback (though it will continue to support the old callback as well, with a@deprecatedtag).v4.3.3Compare Source
event.preventDefault()on"pointerup"unless a handle was actively dragged. - #595v4.3.2Compare Source
flex-growPanelstyle to an inline value instead of a CSS variable defined on the parentGroupto improve rendering performance. This significantly reduces the negative impact from forced reflow.v4.3.1Compare Source
"unset"styles with safer override values. - #588"pointerdown"and"pointerup"events. This is necessary for compatibility with certain UI libraries like Blueprint JS. - #589Panelpixel size usingoffsetWidth/offsetHeightrather thaninlineSizeto avoid an edge case bug withResizeObserver. - #590v4.3.0Compare Source
width,height, andoverflowstyles onGroup(these can be overridden using thestyleprop). - #583event.preventDefaultfor drag interactions with the primary button. - #582useGroupRefandusePanelRefto include| nullto increase compatibility with older React versions.PanelandSeparatorcomponents.v4.2.2Compare Source
useDefaultLayouthookstorageparam tolocalStorageif undefined.PanelproponResizethat impacted certain TypeScript versions.v4.2.1Compare Source
displayNameproperty toGroup,Panel, andSeparatorcomponents for better debugging experience. - 2a6b03fPanelandSeparatorcomponents duringGroupmount so that user code can safely call imperative APIs earlier. - #577v4.2.0Compare Source
prevPanelSizeparam toonResizecallback to help simplify collapse/expand detection. - #573v4.1.1Compare Source
SeparatorattributesroleandtabIndexcannot be overridden using props. - #571v4.1.0Compare Source
Panellayouts in theuseDefaultLayouthook. - #567useGroupRefandusePanelRefhooks. - #568v4.0.16Compare Source
Panelexpand()API not restoring the pre-collapse size. - #563defaultViewvalue seemingly returned by some dev environments. - #564v4.0.15Compare Source
defaultLayoutwhen keys don't matchPanelids. - #556v4.0.14Compare Source
element.ownerDocument.defaultView. - #555v4.0.13Compare Source
useDefaultLayoutgroupIdparam in favor ofidto avoid confusion (there is no actual requirement for theGroupto have a matching id).v4.0.12Compare Source
useDefaultLayoutcalls tostorage.setItemby 150ms. - #552v4.0.11Compare Source
v4.0.10Compare Source
v4.0.9Compare Source
z-indexelements (e.g. modals) triggering separators behind them. - #542GroupwhendefaultLayoutordisableCursorprops change. - #547Panelid changes. - #548Groupis within a hidden DOM subtree; defer layout-change events. - #549v4.0.8Compare Source
Groupis hidden or has a width/height of 0. - #541defaultLayoutvalue. - 40d4356v4.0.7Compare Source
pointer-eventsstyles after"pointerup"event. - f07bf00v4.0.6Compare Source
v4.0.5Compare Source
v4.0.4Compare Source
Separatoron"pointerdown". - #534v4.0.3Compare Source
defaultLayoutvalue returned fromuseDefaultLayout.v4.0.2Compare Source
GroupImperativeHandleandPanelImperativeHandletypes.v4.0.1Compare Source
Panelexpand()API not restoring the pre-collapse size. - #563defaultViewvalue seemingly returned by some dev environments. - #564v4.0.0Compare Source
Version 4 of react-resizable-panels offers more flexible size constraints, supporting units as pixels, percentages, REMs/EMs, and more. Support for server-rendering (including Server Components) has also been expanded.
Migrating from version 3 to 4
Refer to the docs for a complete list of props and API methods. Below are some examples of migrating from version 3 to 4, but first a couple of potential questions:
PanelResizeHandlecomponent was renamed toSeparatorto better align with the ARIA "separator" role and thedirectionprop was renamed toorientationto better align with the ARIAorientationattribute .onCollapseandonExpandevent handlers removed?onResizeevent handler instead:Basic usage example
Persistent layouts using localStorage
Conditional panels
Imperative APIs
Disabling custom cursors
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
HTMLElementtype to better support portal edge cases.3.0.1
package.json#typesreference. - #480Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.