Skip to content

A resize under a held panel snaps the preview reorder (no slide on resize frames) #86

Closed

Description

@samitbasu

Found by the drag fuzzer (production DnD, #33). Repro: [Lift(2), Resize(857)] in the gallery fixture. When a window resize changes the layout under a held panel so that the insertion point moves, the preview reorder lands on the resize frame. By the #30/#80 rule a resize starts no new slides, so the neighbours snap to their new places instead of sliding. The continuity checker flags it.

It's rare and only visible while resizing mid-drag, but it's a real discontinuity. Options:

  • (a) Let slides start on a resize frame for nodes whose order changed (not merely moved by the resize): distinguish "reflowed by the resize" from "reordered by the app".
  • (b) Accept it and document it.

Until it's decided, the drag fuzzer doesn't generate Resize while a panel is held. a_resize_under_a_held_panel_keeps_the_drag covers a held resize that doesn't reorder.

Activity

  1. added
    v0.1
    on Nov 14, 2026
  2. samitbasu commented on Nov 14, 2026

    @samitbasu
    OwnerAuthor

    Decided (user, 2026-11-14): on a resize frame, nodes whose order among their siblings changed still slide; everything else snaps with the window as today. Reproduced: two panels swap x 283↔558 in one frame while one is held and the width grows.

  3. added a commit that references this issue on Nov 15, 2026
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

    v0.1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions