DataTables / DataTables/Scroller

Table info doesn't take x scrollbar into account

Open
#20 1 comment 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

When calculating the display of the number of rows in the viewport for the table information, Scroller isn't taking the x-scrollbar into account, as it can take ~16 pixels.

See thread 21200 for more information

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 by reproducing the table-information row-count calculation in Scroller with a visible horizontal scrollbar, then compare the viewport height used for the count with the available height. Review thread 21200 for the reported behavior. Done means the displayed viewport row count accounts for the scrollbar without breaking tables that have no x-scrollbar.

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.