Using containInBoundaries causes panes to stop drag far away from edges during quick drags
ChronosSF opened this issue · comments
Stamen Stoychev commented
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
- Open the new SB sample about the feature
- Grab a window with the mouse and try to quickly drag it to an edge.
- ...
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.