motiondivision / motiondivision/motion
[BUG] The animation scale "jumps"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 33.7k
- Forks
- 1.4k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 14
Description
I want to make an animation of a modal window opening when I click on one of the cards and it moves to the modal window.
During the animation the card should move to the modal window and change its size ( scale(1.5) ), but the size during the animation becomes too large ( more than specified ) and at the end of the animation sharply becomes correct
Sandbox doesn't work for me, so I use StackBlitz
UPD: I fixed codeSandbox,
To get the same error you just have to click on any card
Sorry if something is not clear, I used a translator and I am new to programming
Contributor guide
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 with the reproduced example in src/components/CardModal/CardModal.jsx using the linked CodeSandbox or StackBlitz, then click a card to observe the scale jump during the modal transition. Compare the animation's intermediate scale with the intended scale(1.5); done means the card reaches the modal without overshooting before settling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100