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
| autoscrollThreshold |`number`| No |`0.1`| Threshold at the extremity of the list that triggers autoscroll when an item is dragged to it. A value of `0.1` means that 10% of the area at the top and 10% at the bottom will trigger autoscroll. Min value: `0`. Max value: `0.4`. |
63
-
| autoscrollThresholdOffset |`{top?: number; bottom?: number}`| No |`{top: 0, bottom: 0}`| Amount by which the threshold is offset at the extremety of the list. For example, setting `{top: 50}` will make the autoscroll trigger 50 pixels earlier at the top. |
71
+
| autoscrollThresholdOffset |`{start?: number; end?: number}`| No |`{start: 0, end: 0}`| Amount by which the threshold is offset at the extremety of the list. For example, setting `{start: 50}` will make the autoscroll trigger 50 pixels earlier at the start of the list.|
64
72
| autoscrollSpeedScale |`number`| No |`1`| Scales the autoscroll speed at which the list scrolls when an item is dragged to the scroll areas. |
65
73
| autoscrollDelay |`number`| No |`0` (Android), `100` (iOS) | Delay in between autoscroll triggers. Can be used to tune the autoscroll smoothness. Default values differ between platforms: `0` for Android and `100` for iOS. |
66
74
| autoscrollActivationDelta |`number`| No |`5`| Allows configuring the delta for autoscroll activation when dragging an item in the same direction as the autoscroll. This is particularly useful when an item is dragged within the autoscroll area to account for minor unintentional movements. |
@@ -78,7 +86,6 @@ This component uses a [FlatList](https://reactnative.dev/docs/flatlist) and it e
78
86
79
87
The following props from FlatList are not supported:
0 commit comments