react-dnd / react-dnd-html5-backend

HTML5 backend for React DnD [Legacy Repo]
MIT License
146 stars 97 forks source link

Incorrect preview on Chrome after drag-scrolling page #55

Open arackaf opened 7 years ago

arackaf commented 7 years ago

A bit hard to explain, but basically, when dragging an item up to the top of the page, such that the page has to scroll up, when you bring the dragging item back down, into the page, the drop preview always shows as though you're over a valid drop target.

Somehow dragging an item up, and causing a page scroll fools the backend into thinking you're always over a valid drop target.