joshwcomeau / joshwcomeau/react-flip-move
Collapsing margins
Open
bug
- Dominant language
- JavaScript
- Stars
- 4.1k
- Forks
- 250
- PR merge metrics
- No merged PRs in 30d
Description
It seems like flip-move doesn't currently take collapsed margins into account when animating items. This is on 2.4.0-rc2.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the collapsed-margin case described for flip-move on version 2.4.0-rc2, then trace the animation behavior that measures and moves reordered DOM items. Confirm the fix by verifying that items animate correctly when their margins collapse, including a regression check for the reported layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100