react-component / react-component/table
Overflow should be auto instead of scroll?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 618
- Avg merge
- 10h 19m
- Merged PRs (30d)
- 2
Description
Not sure if this is an issue or intended behaviour.
If I create a table setting scroll X to true I would expect the horizontal scrollbar to appear only if needed (in small screen sizes for example). That's achieved via overflow-x: auto but instead overflow-x: scroll is added making the scrollbar appear at all times even if the table width does not require scrolling.
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 behavior in the linked CodeSandbox, then trace the table's horizontal overflow styling. Done means the horizontal scrollbar appears only when the table needs horizontal scrolling, including on small screens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100