PuruVJ / neodrag

One Draggable to rule them all 💍
https://neodrag.dev
MIT License
1.59k stars 48 forks source link

[BUG REPORT] Usage of `grid` causes bound container to grow when hitting edges #165

Open jgabriel98 opened 3 months ago

jgabriel98 commented 3 months ago

When (and condition):

Moving the draggable element causes the container on bound to "snap" and grow in size:

Reproducible example: https://codesandbox.io/p/sandbox/objective-neumann-g2zw2y

https://github.com/user-attachments/assets/23890b61-f5c4-4db1-a7a8-c263b4afb2f9