admin管理员组文章数量:1206388
I’m working on a "Hero-style" animation and could use some advice. I have a card on my body that I want to "move up" into a modal, and I’d like to move the card and scale it up at the same time when I click on it.
The issue I’m facing is that the animation looks strange and seems "buggy" — there’s a noticeable cut or jump during the transition, which ruins the smoothness I’m aiming for.
I’d like to know if anyone has an alternative approach to achieve this kind of animation. To clarify, I’d prefer to make the scale animation happen while the card is moving, rather than having the scaling occur afterward.
Any help or tips would be greatly appreciated!
Thanks in advance!
Here is the code I currently have
本文标签: nextjsMotionFramerHow to properly use scale with layoutIdStack Overflow
版权声明:本文标题:next.js - MotionFramer - How to properly use scale with layoutId? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738694245a2107279.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论