DataTables / DataTables/Scroller

Pressing the End button on a table leaves a blank space on the table.

Open
#56 5 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

There seems to be a problem when the table is scrolled to its end by pressing the End key.

What happens is that instead of displaying the last rows of the table, a blank space is displayed instead. It is rather tricky, though, because it does not occur on every case.

https://www.datatables.net/extensions/scroller/examples/initialisation/large_js_source.html

In the sample provided in the link above, do the following to reproduce the issue.

1.) Order the table by Last name in ascending order (click table header once).
2.) Click anywhere on the table aside from the headers (e.g. first row).
3.) Press the "End" key.

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

Start with the large JavaScript source example linked in the issue and reproduce the failure by ordering Last name ascending, focusing the table, and pressing End. Trace the Scroller table-end handling and verify that the last rows render without a blank space in the provided example.

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
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.