Skip to content

Conversation

@mathuo
Copy link
Owner

@mathuo mathuo commented Sep 9, 2025

…pout panels

Fixes GitHub issue #1004 where dragging single panels from popout windows back into the dock caused IndexOutOfBounds errors and incorrect positioning.

Changes:

  • Replace error-throwing bounds check with index clamping in tabs.ts
  • Add special validation for popout panel drops in dockviewComponent.ts
  • Ensure calculated drop indices are within valid bounds for destination groups

🤖 Generated with Claude Code

…pout panels

Fixes GitHub issue #1004 where dragging single panels from popout windows
back into the dock caused IndexOutOfBounds errors and incorrect positioning.

Changes:
- Replace error-throwing bounds check with index clamping in tabs.ts
- Add special validation for popout panel drops in dockviewComponent.ts
- Ensure calculated drop indices are within valid bounds for destination groups

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 9, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit eda3afa:

Sandbox Source
externaldnd-dockview Configuration
fullwidthtab-dockview Configuration
iframe-dockview Configuration
keyboard-dockview Configuration
nativeapp-dockview Configuration
rendering-dockview Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants