motiondivision / motiondivision/motion
[BUG] WhileHover not working when motion component contains animate props that is a variant string
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 33.7k
- Forks
- 1.4k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 14
Description
Please refer to the screenshot below. The goal is to animate child component when hovering on the parent, but when the child specifies the animate props which is a string defined in child's variant the whileHover has no effect
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 by reproducing the behavior shown in the linked screenshot: a parent’s whileHover should animate a child whose animate prop is a variant string. Trace the hover and variant handling for motion components, then verify that the child animates as intended when its animate prop refers to a variant.
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
- Needs clarification
- Newbie friendliness
- 25/100