Skip to content

Visual indicators when capturing onRelease #157

Closed

Description

@casperOne

onRelease is a great mechanism to prevent re-rendering of the windows while resizing (this assumes you're storing the state of the windows externally).

However, because the windows are not resizing, the experience is a bit rough:

  • There is no visual feedback given to the user to indicate what the potential effects of their resize operation may be
    • I'd expect a line to be drawn on top of other windows showing how the split pane is going to be placed as the cursor is moved
  • Events (entering an element, hovering, etc.) still make their way to the windows underneath while resizing, causing additional side-effects that aren't desired

To mitigate these requests, it would be great if react-mosaic would do the following:

  • Draw a line over the windows to represent the panes that are being resized and their final position when the operation is complete
  • Prevent input events from being fired on underlying windows when the split pane is being resized

Activity

  1. Lonli-Lokli commented on Sep 23, 2026

    @Lonli-Lokli
    Collaborator

    Both parts are covered:

  2. Lonli-Lokli commented on Sep 28, 2026

    @Lonli-Lokli
    Collaborator

    Fixed in 7.2.0

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