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
+1
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,7 @@ There are already a number of great Drag & Drop libraries out there (for instanc
120
120
| getContainer | Function || Optional function to return the scrollable container element. This property defaults to the `SortableContainer` element itself or (if `useWindowAsScrollContainer` is true) the window. Use this function to specify a custom container object (eg this is useful for integrating with certain 3rd party components such as `FlexTable`). This function is passed a single parameter (the `wrappedInstance` React element) and it is expected to return a DOM element. |
121
121
| getHelperDimensions | Function |[Function](https://github.com/clauderic/react-sortable-hoc/blob/master/src/SortableContainer/index.js#L74-L77)| Optional `function({node, index, collection})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/clauderic/react-sortable-hoc/blob/master/src/SortableContainer/index.js#L74-L77) for more details |
122
122
| helperContainer | HTMLElement \| Function |`document.body`| By default, the cloned sortable helper is appended to the document body. Use this prop to specify a different container for the sortable clone to be appended to. Accepts an `HTMLElement` or a function returning an `HTMLElement` that will be invoked before right before sorting begins |
123
+
| disableAutoscroll | Boolean |`false`| Disables autoscrolling while dragging |
123
124
124
125
\*`OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).
125
126
Examples: `10` (which is the same as `"10px"`), `"50%"`
0 commit comments