react-component / react-component/table

Table sticky header becomes invisible after data populating

Open
#607 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
618
Avg merge
10h 19m
Merged PRs (30d)
2

Description

I've met very unpleasant problem. I have a list of data with pagination. So i use infinity scroll library for data updating. The problem is when i set header sticky Table property to true - it starts flickering when the new data is arrived. I was really interesting in what is really going on here and started to explore html tree. So then i've figured out that the header obtains property visibility: hidden and the colgroup with columns sizes becomes empty after getting new data. If I am trying to load one more bunch of data, header becomes visible and colgroup gets its elements. Could anyone please explain me what the hell is going on?

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 issue with a sticky table header, paginated data, and the reported infinite-scroll update behavior. Inspect the table’s rendered header and colgroup during data loading; done means the header remains visible and column sizing stays populated after each update.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.