I see two situations where implementing some scrolling would be very helpful -
If the container is taller than the viewport.
It would be nice if the plugin could scroll the page when you hit the edge of the viewport while dragging an item.
If the target container has a height restriction along with overflow:scroll.
Similarly, the plugin could change the scroll position of the target container when you hit an edge.
I made an attempt at implementing this but it seems that my handler bound to mousemove was only being triggered when I dragged an element outside of the container and back in. I'm not sure if the plugin is killing mousemove events for performance reasons (that's my guess) but is there any other way to get the position of the dragged element as it moves?
Thanks!
I see two situations where implementing some scrolling would be very helpful -
If the container is taller than the viewport.
It would be nice if the plugin could scroll the page when you hit the edge of the viewport while dragging an item.
If the target container has a height restriction along with
overflow:scroll.Similarly, the plugin could change the scroll position of the target container when you hit an edge.
I made an attempt at implementing this but it seems that my handler bound to
mousemovewas only being triggered when I dragged an element outside of the container and back in. I'm not sure if the plugin is killingmousemoveevents for performance reasons (that's my guess) but is there any other way to get the position of the dragged element as it moves?Thanks!