rlemaigre / Easy-DnD

A drag and drop implementation for Vue.js 2 and 3 https://codesandbox.io/s/easy-dnd-demo-9mbij https://codesandbox.io/s/easy-dnd-demo-2-xnqbz
MIT License
384 stars 52 forks source link

Feature request: scrolling speed when dragging #136

Open matthew-dean opened 1 year ago

matthew-dean commented 1 year ago

I've noticed that in Chrome / mobile, dragging an item in a scrollable list causes scroll to zoom by super fast, which makes it hard to use. Is there a way to slow down the scroll velocity?

nicholaszuccarelli commented 1 year ago

Hey Matt. This is something we can look into. The closer your item is to the edge of the screen, the faster it will scroll. There is a maximum "step" value within the helper we use. We'll see if we can add this value as a prop so you can override the default maximum scrolling speed.