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

Continuous resizing item when placed on the edge without moving mouse #784

Open
Dan102 opened this issue Jan 26, 2022 · 2 comments
Open

Comments

@Dan102
Copy link

Dan102 commented Jan 26, 2022

Settings I changed from defaults: https://tiberiuzuld.github.io/angular-gridster2/
GridType: Fixed
Fixed Col Width: 10
Fixed Row Height: 10
Margin 0
Video:
https://user-images.githubusercontent.com/25780766/151151057-83be9089-fe36-4a97-8a66-2598a59ff6d8.mp4
Gif:
ezgif com-gif-maker

I have encountered this small issue when resizing item placed on the edge of grid. with the given settings, if i move the item around a bit (resize, move around, resize back) and than put it on the edge of grid (bottom or right) and try to minimize in the direction of the edge, it starts shrinking continuously without any mouse movement. If the item is not directly touching the edge its all good.

@Vasanthvivi
Copy link

Settings I changed from defaults: https://tiberiuzuld.github.io/angular-gridster2/ GridType: Fixed Fixed Col Width: 10 Fixed Row Height: 10 Margin 0 Video: https://user-images.githubusercontent.com/25780766/151151057-83be9089-fe36-4a97-8a66-2598a59ff6d8.mp4 Gif: ezgif com-gif-maker

I have encountered this small issue when resizing item placed on the edge of grid. with the given settings, if i move the item around a bit (resize, move around, resize back) and than put it on the edge of grid (bottom or right) and try to minimize in the direction of the edge, it starts shrinking continuously without any mouse movement. If the item is not directly touching the edge its all good.

why don't you use the horizontal fixed for this ?

@Dan102
Copy link
Author

Dan102 commented Feb 11, 2022

Settings I changed from defaults: https://tiberiuzuld.github.io/angular-gridster2/ GridType: Fixed Fixed Col Width: 10 Fixed Row Height: 10 Margin 0 Video: https://user-images.githubusercontent.com/25780766/151151057-83be9089-fe36-4a97-8a66-2598a59ff6d8.mp4 Gif: ezgif com-gif-maker
I have encountered this small issue when resizing item placed on the edge of grid. with the given settings, if i move the item around a bit (resize, move around, resize back) and than put it on the edge of grid (bottom or right) and try to minimize in the direction of the edge, it starts shrinking continuously without any mouse movement. If the item is not directly touching the edge its all good.

why don't you use the horizontal fixed for this ?

Well I don't see how that would change be relevant to this bug

  1. The error is still there
  2. It changes the functionality of the grid

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

2 participants