react-component / react-component/table
The last column with no width specified is hidden in case of lack of space (fixed layout, scroll.x=true)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 618
- Avg merge
- 10h 19m
- Merged PRs (30d)
- 2
Description
Reproduction link: https://codesandbox.io/s/goofy-mccarthy-714t3?file=/src/App.js
Preconditions:
- table-layout: fixed
- scroll={ x: true }
- all columns have specified width, the last one - not
Steps to reproduce:
- Reduce the page size so the half of the table is under the horizontal scroll
- Scroll horizontal scrollbar to the end
Actual result: the last column "Operations" is hidden
Expected result: "Operations" column is visible.
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 with the linked CodeSandbox reproduction and its src/App.js, using the fixed table layout and horizontal scrolling conditions described in the issue. Trace the table's horizontal scroll behavior when the final column has no width specified; done means the Operations column remains visible after scrolling to the end.
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
- Mostly clear
- Newbie friendliness
- 45/100