lottie-miniprogram icon indicating copy to clipboard operation
lottie-miniprogram copied to clipboard

lottie for miniprogram

Results 24 lottie-miniprogram issues
Sort by recently updated
recently updated
newest added

MiniProgramError Cannot read property 'nodeId' of undefined TypeError: Cannot read property 'nodeId' of undefined at Image.set [as src] (WAServiceMainContext.js:2:1148798) at lI.set src [as src] (WAServiceMainContext.js:2:1188907) at s. (WAServiceMainContext.js:2:2360901) at bX...

使用了7个canvas,页面会出现卡顿,严重的情况会出现小程序奔溃,请问有什么解决办法吗

微信版本: 7.0.10 基础库版本: 2.10.1 开发者工具上不报错且动画正常显示,启动真机调试及预览模式报错,动画不显示 ` _initLottie() { this.createSelectorQuery() .select('#canvas') .node(res => { const canvas = res.node const context = canvas.getContext('2d') canvas.width = 480 canvas.height = 480 context.translate(0, 300) lottie.setup(canvas)...

项目中集成插件,在编辑器中发现提示“ Lottie 动态创建 canvas 组件,但小程序不支持动态创建组件”,动画可以在测试跑通,但是上线后会有很多关于canvas报错,但是不能定位具体问题,不知道是不是编辑器提示这个错误的原因。

![image](https://user-images.githubusercontent.com/37544649/113398633-80021480-93d1-11eb-87b6-43dff094c5b0.png) ![image](https://user-images.githubusercontent.com/37544649/113398761-ad4ec280-93d1-11eb-9881-f0f47e3f8da9.png)

以下是存在问题的文件 [lottie.txt](https://github.com/wechat-miniprogram/lottie-miniprogram/files/7090677/lottie.txt) 正常显示 ![2021 abe020a88495a7a7ba15efd9838fca68](https://user-images.githubusercontent.com/60127908/131664597-206bce6f-16d9-4543-adf9-2b8c2522b766.png) 异常显示 ![2021 f800b8a6d516416b02cd6744e21547f3](https://user-images.githubusercontent.com/60127908/131664631-769a257b-4606-459a-a287-ef56f0ce8863.png)

重复刷新小程序页面 大概重复20次左右 会出现小程序内存泄漏的提醒