You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the GridItem is in the 12th (and last) column, when resize with sw handler, this action trigger both drag and resize. In this way the GridItem go out from the gridstack
funny I fixed a similar issue when resizing from the left past the maxWidth did also move the object couple weeks ago (see #1330). Guess I didn't take a look sizing it below minWidth (1 in this case). Don't need to be column 12, it will move right instead of stop when min sized.
one of the reason I changed to only resize bottom right in the demos - always though left side resize was odd anyway and can have all sort of harder to fix side effects.
adumesny
changed the title
Drag event starts if resize from sw, in last right column
resize down from left side will move item to the right
Jan 29, 2021
adumesny
changed the title
resize down from left side will move item to the right
H5 resize down from left side will move item to the right
Feb 3, 2021
Subject of the issue
If the GridItem is in the 12th (and last) column, when resize with sw handler, this action trigger both drag and resize. In this way the GridItem go out from the gridstack
Your environment
gridstack v3.2.0, HTML5
Steps to reproduce
demo: https://jsfiddle.net/rob4e7z6/
resize from bottom left the last GridItem
.
Expected behavior
What happens with resize from bottom right. The GridItem may set his width and not drag
Actual behavior
It will trigger both drag and resize. In this way the GridItem go out from the gridstack
The text was updated successfully, but these errors were encountered: