react-component / react-component/table

Feature Proposal: Animate expanding/collapsing of rows

Open
#56 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.