react-draggable
react-draggable copied to clipboard
Set grid with only y
trafficstars
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].