react-component / react-component/table
Table sticky header becomes invisible after data populating
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
- 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 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