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

When resizing direction north changing Y-axis is not working anymore [with movie] #1728

Closed
ReseTTim opened this issue Apr 12, 2021 · 2 comments · Fixed by #1734
Closed

When resizing direction north changing Y-axis is not working anymore [with movie] #1728

ReseTTim opened this issue Apr 12, 2021 · 2 comments · Fixed by #1734
Labels

Comments

@ReseTTim
Copy link

ReseTTim commented Apr 12, 2021

Subject of the issue

When I want to resize direction North / North west the item is not changing the Y-axis anymore.

The issue is occurred when I updated version from 4.0.1 to 4.0.2.
(I went back to 3.3.0 to pinpoint the precise version)

https://youtu.be/t2IqaDoAgs0

Your environment

  • Gridstack 4.2.0

Steps to reproduce

Get to version 4.0.1 and use the drag handles North or North west.

Expected behavior

When resizing North or North west you expect that the resizing item will be set on a lower Y-axis.

Actual behavior

Item gets higher on the start position and after releasing

For now

I went back to v4.0.1.

@ReseTTim ReseTTim changed the title When resizing direction north changing Y-axis is not working anymore When resizing direction north changing Y-axis is not working anymore [with movie] Apr 12, 2021
@adumesny
Copy link
Member

can't say that I ever tried 'n' resizing ! (doc says not to use as unpredicted but don't see why) but if it works in 4.0.1 and not 4.0.2 then something we can look at.

next time provide an example (I mod float.html to have resizable: { handles: 'se,sw,ne,nw,n,e,s,w'}} and see the issue)

adumesny added a commit to adumesny/gridstack.js that referenced this issue Apr 18, 2021
* fix gridstack#1728 gridstack#1731
* we now fully support sizing from the top or left side of widgets
* changed float.html demo to have all sides sizing to test
@adumesny adumesny mentioned this issue Apr 18, 2021
3 tasks
@adumesny
Copy link
Member

fixed in next release. don't forget to contribute if you find lib useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants