You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Props:
65
65
66
66
**`start`**: specifies the `x` and `y` that the dragged item should start at. This is generally not necessary to use (you can use absolute or relative positioning of the child directly), but can be helpful for uniformity in your callbacks and with css transforms.
67
67
68
-
**`moveOnStartChange`**: if true (it defaults false), will move the element if there is a change in `start`. We set this by default to `false` because it can cause unwanted effects if you are not aware of it.
68
+
**`moveOnStartChange`**: if true (it defaults false), will move the element if there is a change in `start`. It won't work if the start is changed in the middle of a drag. We set this by default to `false` because it can cause unwanted effects if you are not aware of it.
69
69
70
70
**`zIndex`**: specifies the zIndex to use while dragging.
71
71
@@ -139,6 +139,8 @@ If you move the element manually, you have two options:
139
139
2. When moving the `<Draggable>`, ref the element and
0 commit comments