Skip to content

Releases: bvaughn/react-resizable-panels

v0.0.32

17 Jan 20:24
Compare
Choose a tag to compare
  • #75: Ensure Panel and PanelGroup callbacks are always called after mounting.

v0.0.31

17 Jan 20:24
Compare
Choose a tag to compare
  • #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

17 Jan 20:24
Compare
Choose a tag to compare
  • #68: Reduce volume/frequency of local storage writes for PanelGroups 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

05 Jan 15:13
bbb7b80
Compare
Choose a tag to compare
  • #58: Add imperative collapse, expand, and resize methods to Panel.
  • #64: Disable pointer-events inside of Panels 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

03 Jan 03:19
Compare
Choose a tag to compare
  • #53: Avoid useLayoutEffect warning when server rendering. Render panels with default style of flex: 1 1 auto during initial render.

v0.0.27

03 Jan 03:18
Compare
Choose a tag to compare
  • #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

31 Dec 18:07
Compare
Choose a tag to compare
  • Reduce style re-calc from resize-in-progress cursor style.

v0.0.25

31 Dec 18:07
Compare
Choose a tag to compare
  • 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

31 Dec 17:08
Compare
Choose a tag to compare
  • #49: Change cursor based on min/max boundaries.

v0.0.23

29 Dec 21:32
Compare
Choose a tag to compare
  • #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.