Skip to content

Optional frozen-content resizing for smoother dragging #745

Description

@mwrshah

Optional frozen-content resizing for smoother dragging

resizable.mp4

Content heavy panels can make resizing stutter because each move triggers browser layout and repainting.

Would you consider an optional Panel mode?

  • freeze: keep content at its starting size while panel boundaries move; hide scrollbars during dragging and update on release.
  • preview: move a divider indicator, then resize on release.

A local prototype on the existing Nested groups example delivers ~20 pointer updates/sec live vs ~60 with the new Freeze and Preview options—a 3× gain in pointer-update throughput. Conditions: Production build, 1,000 rows, Chrome 152 headless, 6× CPU throttling, five-second continuous drag. These are pointer updates, not FPS.

Comparisons against main branch found no meaningful default-live throughput regression in this fixture.

Would you be open to this change?

Suggested PR: #746.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions