-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rows cannot be moved in a table with a scrollbar #3249
Comments
On Firefox case the error looks to be thrown at tabulator/src/js/modules/moveable_rows.js Line 247 in 7579920
|
Hey @piroor Thanks for letting me know, i will have a look into that further. Cheers Oli :) |
Hi Oli, I was able to reproduce this in Tabulator 4.9.3, even without a vertical scrollbar being present on the table. A rowMove event will complete visually if a scroll action has not yet occurred since the last redraw, but before the completion of the rowMove callback the console will still report |
Hello, Any updates on this bugfix? Would really appreciate a solution to get this working, I've had a customer bring this up several times. |
Hey All, This appears to have been resolved in the 5.x release. Cheers Oli :) |
Thanks! I'll try 5.x next year. |
@olifolkerd I am not sure if the fix is behaving as expected? I forked the OPs example and updated it to use 5.1.0 - https://jsfiddle.net/adarshk/kdpn4tsz/4/ The drag seems to work in a weird way. When I think of drag, I think of something similar to https://react-beautiful-dnd.netlify.app/?path=/story/virtual-react-virtualized--list But what happens is - when holding an item to drag, it only scrolls if you drag to the bottom and then let go and then scrolling manually to the desired position and then letting go again. Not sure how to demonstrate the behavior other than trying out the fiddle and then dragging a top item to the bottom of the list. Do you think I am doing something wrong with that or is that how it is behaving? |
Describe the bug
Rows cannot be rearranged via drag and drop if a table rendered with the virtual DOM and there are large number rows and the table is scrollable.
Tabulator Info
Working Example
https://jsfiddle.net/piro_or/w5cadgsz/5/
To Reproduce
Google Chrome reports an error in the console:
Mozilla Firefox reports an error in the console:
Expected behavior
Screenshots
A screenshot at the step 4.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: