joshwcomeau / joshwcomeau/react-flip-move

Can FlipMove fix the masking problem caused by the incorrect top value?

Open
#274 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.1k
Forks
250
PR merge metrics
No merged PRs in 30d

Description

Demo: https://codesandbox.io/embed/blissful-golick-86mcsb?fontsize=14&hidenavigation=1&theme=dark

It may not be a bug, but it looks really strange in fade animation mode.

I have given my own repair method in the Demo. Can FlipMove directly repair it or is there a more recommended repair method?

![image](https://user-images.githubusercontent.com/15623620/191432838-e447206e-ae38-4617-adc1-2e67e1566564.png)
![image](https://user-images.githubusercontent.com/15623620/191432983-bf2bcda9-9d67-4e16-b4a6-a2703f8566c5.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked CodeSandbox demo and reproduce the masking behavior in fade animation mode. Compare the displayed result with the reported repair method, then identify the FlipMove entry point responsible for the incorrect top value. Done means the fade animation no longer produces the reported masking problem and the behavior is covered by an appropriate regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.