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

Using containInBoundaries causes panes to stop drag far away from edges during quick drags #83

Open
ChronosSF opened this issue Sep 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working status: resolved

Comments

@ChronosSF
Copy link
Member

Description

This likely happens because during drag the handler is cancelled when it would cause the window to be outside. Instead a maximum drag position at that axis should be applied so that the drag doesn't stop at a weird position even when dragging quickly with the mouse.

  • version: 1.14.1
  • browser: NA

Steps to reproduce

  1. Open the new SB sample about the feature
  2. Grab a window with the mouse and try to quickly drag it to an edge.
  3. ...

Result

The drag abruptly stops very far away from the edge.

Expected result

The drag should stop when the edges are basically one on top of the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: resolved
Projects
None yet
Development

No branches or pull requests

3 participants