RocketChat / RocketChat/fuselage
Storybook variation tables overflow on mobile viewports
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 162
- Forks
- 258
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 24
Description
Problem
PropsVariationSection renders wide tables that overflow horizontally on small screens, making stories hard to use on mobile.
Steps to Reproduce
Open Storybook on a small viewport
Navigate to components with state/variation tables
Table content overflows screen width
Expected Behavior
Tables should remain usable on mobile
Horizontal scrolling should be available if needed
Actual Behavior
Content overflows viewport
No scroll container
Root Cause
<table> rendered directly without overflow handling
Proposed Fix
Wrap the table in a container with overflow-x: auto
Preserve table semantics
Scope
.storybook/helpers.tsx
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 in .storybook/helpers.tsx at PropsVariationSection and reproduce the issue by opening Storybook on a small viewport with a component that has state or variation tables. Done means the table remains semantically intact and can scroll horizontally within a container when it exceeds the viewport width.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, storybook, typescript
- Domain
- design, frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100