react-component / react-component/table
Feature Proposal: Animate expanding/collapsing of rows
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 618
- Avg merge
- 10h 19m
- Merged PRs (30d)
- 2
Description
Right now, rows are expanded/collapsed by toggling display: none via javascript. the display-property can't be animated unfortunately.
a quick win would be to apply css-classes expanded & collapsed instead of setting it via javascript. this way users could add animations themselves by simply overwriting the display: none css with an animation of their choice (e.g. animating the height from 0 to 100% or using some sort of transform)
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
No files, tests, or entry points are named. Locate the row expansion logic that currently toggles display: none via JavaScript, then determine how expanded and collapsed classes should replace that behavior; the work is done when row transitions can be customized with CSS animations without breaking expansion or collapse.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100