Skip to content

Conversation

@hairyheron
Copy link
Contributor

_packNodes did not work correctly in floating mode for nodes of height > 1. When trying to move such a node upwards, the repositioned node intersected with its previous position. Fix this by only checking for collisions with preceding nodes instead of all nodes.

@radiolips radiolips changed the base branch from master to develop May 6, 2017 20:02
@adumesny
Copy link
Member

adumesny commented Sep 11, 2017

you can use https://github.com/troolee/gridstack.js/blob/develop/demo/two.html to test your fix using grey box (float grid) and it fixes the issue. Even dragging green 'Drag me" onto float grid shows the issue.

@radiolips radiolips merged commit 805e566 into gridstack:develop Sep 11, 2017
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

Successfully merging this pull request may close these issues.

3 participants