Releases: bvaughn/react-resizable-panels
Releases Β· bvaughn/react-resizable-panels
v0.0.32
- #75: Ensure
Panel
and PanelGroup
callbacks are always called after mounting.
v0.0.31
- #71: Added
getSize
and getCollapsed
to imperative API exposed by Panel
.
- #67, #72: Removed nullish coalescing operator (
??
) because it caused problems with default create-react-app configuration.
- Fix edge case when expanding a panel via imperative API that was collapsed by user drag
v0.0.30
- #68: Reduce volume/frequency of local storage writes for
PanelGroup
s configured to auto-save.
- Added
onLayout
prop to PanelGroup
to be called when group layout changes. Note that some form of debouncing is recommended before processing these values (e.g. saving to a database).
v0.0.29
- #58: Add imperative
collapse
, expand
, and resize
methods to Panel
.
- #64: Disable
pointer-events
inside of Panel
s during resize. This avoid edge cases like nested iframes.
- #57: Improve server rendering check to include
window.document
. This more closely matches React's own check and avoids false positives for environments that alias window
to some global object.
v0.0.28
- #53: Avoid
useLayoutEffect
warning when server rendering. Render panels with default style of flex: 1 1 auto
during initial render.
v0.0.27
- #4: Add
collapsible
and onCollapse
props to Panel
to support auto-collapsing panels that resize beyond their minSize
value (similar to VS Code's panel UX).
v0.0.26
- Reduce style re-calc from resize-in-progress cursor style.
v0.0.25
- While a resize is active, the global cursor style now reliably overrides per-element styles (to avoid flickering if you drag over e.g. an anchor element).
v0.0.24
- #49: Change cursor based on min/max boundaries.
v0.0.23
- #40: Add optional
maxSize
prop to Panel
.
- #41: Add optional
onResize
prop to Panel
. This prop can be used (along with defaultSize
) to persistence layouts somewhere externally.
- #42: Don't cancel resize operations when exiting the window. Only cancel when a
"mouseup"
(or "touchend"
) event is fired.