Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual indicators when capturing onRelease #157

Open
casperOne opened this issue Feb 28, 2021 · 0 comments
Open

Visual indicators when capturing onRelease #157

casperOne opened this issue Feb 28, 2021 · 0 comments

Comments

@casperOne
Copy link

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
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

No branches or pull requests

1 participant