DataTables / DataTables/RowReorder
Bug when using rowreorder extension together with the scroller extension
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
there is a bug when using rowreorder extension together with the scroller extension.
Example to reproduce bug:
https://jsfiddle.net/99358x8p/10/
To reproduce the bug use the following steps:
- Drag first row to a position greater than row 30.
- Scroll up to the top row.
- You can see identical and wrong sequence numbers everywhere. The ordering/data is broken.
It works if you only reorder the row to a near position. At what distance the bug occurs depends on the scrollY value of the datatable. With smaller scrollY value the bug occurs sooner.
Is there any workaround?
Many thanks for any answer. Best regards.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked JSFiddle reproduction and inspect how RowReorder interacts with Scroller when moving the first row beyond row 30. Verify the ordering and sequence numbers after scrolling back to the top, and consider the issue resolved when long-distance reordering preserves correct data and displayed sequence numbers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100