Open BearHunter49 opened 3 years ago
If set grid [10, 10] at draggable, it works fine. But when set grid [0, 10], it works weird.
https://codesandbox.io/s/react-draggable-grid-y-bug-muj09
grid values don't make sense at 0 and should probably error when you set them to 0. Try [1, 10].
grid
0
[1, 10]
If set grid [10, 10] at draggable, it works fine. But when set grid [0, 10], it works weird.
https://codesandbox.io/s/react-draggable-grid-y-bug-muj09