From afd5854069cc1d60e6772f6240ba8138d217d4fc Mon Sep 17 00:00:00 2001 From: Noel Heesen Date: Thu, 11 Jan 2018 19:58:16 +0100 Subject: [PATCH] Update readme with 'keepOriginalScroll' option --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 834db6b..28e75fb 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,8 @@ var sortable = new Sortable(el, { fallbackOnBody: false, // Appends the cloned DOM Element into the Document's Body fallbackTolerance: 0, // Specify in pixels how far the mouse should move before it's considered as a drag. - scroll: true, // or HTMLElement + scroll: true, // or HTMLElement + keepOriginalScroll: false // use only with scrollFn. Also keep the original scroll behavior alongside the scrollFn scrollFn: function(offsetX, offsetY, originalEvent, touchEvt, hoverTargetEl) { ... }, // if you have custom scrollbar scrollFn may be used for autoscrolling scrollSensitivity: 30, // px, how near the mouse must be to an edge to start scrolling. scrollSpeed: 10, // px