DataTables / DataTables/Scroller
Scroller shows strange behaviour on ajax reload while keeping scroll position
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 83
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
It seems that scroller doesn't work very well with ajax reload.
I have been able to prepare an example of the issues I am facing at http://live.datatables.net/lukacupe/1/edit .
When I reload the data when the table is scrolled to the bottom the begin of the count at the info footer doubles its value.
Otherwise, if I scroll to the middle of the table and then I reload the data the info keeps the same pagination information but the table can not be scrolled upwards.
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 live.datatables.net example and reproduce both ajax reload cases: reloading at the bottom and reloading from the middle of the table. Trace the Scroller behavior around retained scroll position and footer pagination information, then verify that both reload scenarios preserve correct scrolling and counts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100