DataTables / DataTables/Scroller

Scrolling with Page up / Page down stops working intermittently after a redraw

Open
#47 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
83
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Repro:

  1. Go to https://datatables.net/extensions/scroller/
  2. Click inside the scroll frame
  3. Page down a few times rapidly

After a few page downs, the scroller stops paging down and the parent page is scrolled instead, which makes paging through larger datasets more or less impossible with the keyboard.

This doesn't happen all the time but it's > 50% of the time for me (Chrome 41).

The problem appears to occur concurrently with a redraw of the table; that is, the keyboard events are handled correctly as the table is scrolled by the browser, but they stop working once the table has been redrawn to include new data.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue at the Scroller extension page in Chrome by paging rapidly inside the scroll frame. Inspect the keyboard handling around table redraws; done means Page Up and Page Down continue scrolling the table rather than the parent page after redraws.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.