Morphing SVG with FLubber and Framer Motion - Stack Overflow

I tried to morph 2 SVGs with Flubber on click with Framer motion, it worked, but not as expected.The f

I tried to morph 2 SVGs with Flubber on click with Framer motion, it worked, but not as expected.

The first click on the 'Hi" div triggered a change in the open state from 0 to 1, but it didn't animate the SVG. Another click event on the div did. But now the 'open' and 'progress' are not in sync.

Here's the codesandbox link to demonstrate my working code: =%2Fsrc%2FApp.tsx%3A12%2C24

How can I solve this?

Thanks in advance...

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745578022a4634083.html

相关推荐

  • Morphing SVG with FLubber and Framer Motion - Stack Overflow

    I tried to morph 2 SVGs with Flubber on click with Framer motion, it worked, but not as expected.The f

    12小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信