kutlugsahin / smooth-dnd

drag and drop library for javascript
MIT License
598 stars 146 forks source link

Dragging after scrolling horizontally #56

Open richrout opened 5 years ago

richrout commented 5 years ago

Note: this is not reflected on the newest demo, it seems the demo is not on version 0.12.0.

But with the latest version, if you scroll horizontally THEN start dragging an element, the scroll position will be offset by the amount you just scrolled.

Seems to be introduced by this change here: https://github.com/kutlugsahin/smooth-dnd/commit/68853ecab812ac7a7d9ebf4288cf1ed520b3a2eb#diff-b2d63cc2307e321da31d0ed58f51717aR86

neanderthil commented 5 years ago

Yes also having this issue. Downgrading solved it for me.