react-draggable icon indicating copy to clipboard operation
react-draggable copied to clipboard

Set grid with only y

Open BearHunter49 opened this issue 4 years ago • 1 comments
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

BearHunter49 avatar May 21 '21 02:05 BearHunter49

grid values don't make sense at 0 and should probably error when you set them to 0. Try [1, 10].

STRML avatar May 21 '21 12:05 STRML