Open
Description
🐛 Bug Report
When using RAC Table with Drag and Drop hooks, after re-ordering the data-hovered
attribute is applied to the row that was first hovered before starting dragging.
Note that this is only noticeable when you stop moving cursor after drag ends. If you move it again, the data-hovered
gets applied to the proper row which you're hovering on.
🤔 Expected Behavior
I'd expect the data-hovered
attribute to be applied to the row where the drag ends
😯 Current Behavior
data-hovered
is applied to the row that started the drag.
💁 Possible Solution
I don't know any, would appreciate any workarounds.
🔦 Context
When the row has some special styling applied on hover, it's unexpected seeing it applied to row that your cursor is currently not pointing at.
💻 Code Sample
https://codesandbox.io/s/busy-wu-f6qs9j?file=/src/App.js