最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Morphing SVG with FLubber and Framer Motion - Stack Overflow

programmeradmin1浏览0评论

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...

发布评论

评论列表(0)

  1. 暂无评论