Skip to content

Bump react-resizable-panels from 2.1.9 to 4.12.2 in /chess-client - #241

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/chess-client/react-resizable-panels-4.12.2
Closed

Bump react-resizable-panels from 2.1.9 to 4.12.2 in /chess-client#241
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/chess-client/react-resizable-panels-4.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bumps react-resizable-panels from 2.1.9 to 4.12.2.

Release notes

Sourced from react-resizable-panels's releases.

4.12.1

  • 723: Bug fix for context menu event (right click) occurring while pointer-resize is active

4.12.0

  • 716): Meta info available to onLayoutChanged callback signalling whether resize event was triggered by direct user input (keyboard or mouse)
  • useDefaultLayout hook supports onlySaveAfterUserInteractions option to only save layouts when directly triggered by user interactions.

4.9.0

  • 702: Add disableDoubleClick prop to Separator to enable turning off the double-click size reset behavior.

4.8.0

  • 699: useDefaultLayout hook automatically migrates legacy layouts to version 4 format; see issue 605 or PR 699 for details on how this works.

4.7.6

  • 698: Replace Panel aria-disabled attribute with data-disabled

4.7.5

  • 696: Improved server rendering support for defaultSize prop

4.7.4

  • 689: Fix edge case bug with pointer event capture

4.7.3

  • 690: Imperative Panel API supports non-percentage sizes

4.7.2

  • 683: Don't scroll separator when setting focus

4.7.1

  • 678: Change default overflow styles to support shadows

4.7.0

  • 677: Add groupResizeBehavior prop to Panel, enabling panels to retain their current size (pixels) size when the parent Group is resized.

4.6.5

  • 670: Check for undefined adoptedStyleSheets (to better support environments like jsdom)
  • 671: Bug-fix: Update in-memory layout cache when group is resized by double-clicking on a separator

4.6.4

  • 664, 665: Resize actions sometimes "jump" on touch devices

4.6.3

  • Fixed a problem with project logo not displaying correctly in the README for the Firefox browser.

4.6.2

  • 660: Group guards against layouts with mis-ordered Panel id keys

4.6.1

  • 658: Imperative Panel and Group APIs ignored disabled status when resizing panels; this is an explicit override of the disabled state and is required to support conditionally disabled groups.
  • 658: Separator component does not set a cursor: not-allowed style if the parent Group has cursors disabled.

... (truncated)

Changelog

Sourced from react-resizable-panels's changelog.

4.12.2

  • 726: Updated inline documentation to clarify size units.

4.12.1

  • 723: Bug fix for context menu event (right click) occurring while pointer-resize is active

4.12.0

  • 716): Meta info available to onLayoutChanged callback signalling whether resize event was triggered by direct user input (keyboard or mouse)
  • useDefaultLayout hook supports onlySaveAfterUserInteractions option to only save layouts when directly triggered by user interactions.

4.11.2

  • 719): Bug fix: Calculate rem-based sizes relative to owner document (not body)

4.11.1

  • 715): Edge case SSR bug fix for panels with defaultSize={0}

4.11.0

  • 712: Separator supports :focus-visible pseudo-class
  • 703: Fix: edge case scenarios when collapsing the last panel
  • 711: Improve legacy browser support wrt global stylesheets

4.10.0

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

4.9.0

  • 702: Add disableDoubleClick prop to Separator to enable turning off the double-click size reset behavior.

4.8.0

  • 699: useDefaultLayout hook automatically migrates legacy layouts to version 4 format; see issue 605 for details on how this works.

4.7.6

  • 698: Replace Panel aria-disabled attribute with data-disabled

4.7.5

  • 696: Improved server rendering support for defaultSize prop

4.7.4

  • 689: Fix edge case bug with pointer event capture

... (truncated)

Commits
  • a1eeb7a 4.12.1 -> 4.12.2
  • 3e877a1 4.12.0 -> 4.12.1
  • 039d167 fix #723: Ending a drag with a right-click results in panels incorrectly swal...
  • 554645a Update README
  • 8b0ffa9 4.11.2 -> 4.12.0
  • c1d818f feat(Group): pass isUserInteraction flag to onLayoutChanged (closes #716) (#721)
  • 335d7f2 Remove temp did-mount state from e2e test harness
  • ab519b7 Add a more visible warning message to server-rendering persisted layouts
  • 7bf5dad Added a warning to docs
  • b227618 4.11.1 -> 4.11.2
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-resizable-panels](https://github.com/bvaughn/react-resizable-panels) from 2.1.9 to 4.12.2.
- [Release notes](https://github.com/bvaughn/react-resizable-panels/releases)
- [Changelog](https://github.com/bvaughn/react-resizable-panels/blob/main/CHANGELOG.md)
- [Commits](bvaughn/react-resizable-panels@2.1.9...4.12.2)

---
updated-dependencies:
- dependency-name: react-resizable-panels
  dependency-version: 4.12.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 4, 2026
jozef2svrcek added a commit that referenced this pull request Aug 15, 2026
…only its neighbours (#269)

Supersedes #241, which could not be merged: v4 renames the public API, so both
panelled pages failed to compile.

  PanelGroup direction=  →  Group orientation=
  PanelResizeHandle      →  Separator
  autoSaveId             →  useDefaultLayout({ id, storage })
  onLayout(number[])     →  onLayoutChange(Layout), keyed by panel id
  Panel order=           →  gone; ids alone identify conditional panels

Sizes changed meaning: a number is pixels and a string is a percentage, so
every size prop becomes a string.

Three defects came with it, each found only in the packaged app:

  · Dividers highlighted but would not drag. The neighbour-only rule was
    applied on pointer-down, and changing a panel's constraints mid-drag aborts
    that drag — hence "click first, then drag works". It is applied on hover
    now. It also locked min == max; a spill can only shrink a far panel, so a
    floor suffices, and locking the last panel made v4 refuse to resize at all.

  · The Analysis move text could not be resized, because the "board" panel was
    a board area that absorbed every change plus a fixed-width move list. The
    move text is a panel now: rail | board | move text | tabs. GameBoard keeps
    its state and portals the move list into a host the view owns, so the PGNs
    viewer keeps its inline sidebar.

  · PGNs and Prep had no panels at all, and PGNs had its own collapse idiom.
    Both are panelled, with the « header button and » strip used elsewhere.
    PGNs keeps its panels mounted while collapsed — the browser would forget
    its directory and the game list reports the file's game count — and needs
    an explicit starting layout, because that view is always mounted and merely
    hidden, so its group measures zero on mount and ignores every defaultSize.

Measured on every multi-panel group, each divider in both directions: the pair
trades, the third panel reports 0, and a drag that would overrun a neighbour's
minimum stops there. With the floors disabled at runtime the same drag spills
254px, so the rule is doing real work. Exercised in the packaged app across
drafts 0.15.9 to 0.15.12.

Known rough edges: expanding a collapsed rail restores it to its minimum width
rather than its previous one; the PGNs games panel (multi-game files only) was
not exercised at runtime; and v4 persists layouts in a new format, so saved
panel sizes reset once.
@jozef2svrcek

Copy link
Copy Markdown
Contributor

Superseded by #269, which is merged. That PR does the same 2.1.9 → 4.12.2 bump plus the port it needs: v4 renames the public API (PanelGroupGroup, PanelResizeHandleSeparator, autoSaveIduseDefaultLayout), and changes size semantics so a number means pixels and a string means percent. This branch on its own did not compile.

Closing in favour of #269.

@dependabot @github

dependabot Bot commented on behalf of github Aug 15, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/chess-client/react-resizable-panels-4.12.2 branch August 15, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant