We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序
小程序基础库: 3.2.1 使用框架: React
使用旧版canvas(新版canvas api没问题,项目原因没办法用新版),swiper item里的组件如果有canvas,如果把组件销毁了,组件里面的canvas不会销毁,代码结构类似于
<Swiper> <SwiperItem> { visible && ( <View> <Canvas canvasId="" /> </View> ) } </SwiperItem> </Swiper>
在组件销毁时组件里的canvas也能正常销毁
在组件销毁时组件里的canvas不能正常销毁
Taro v3.5.0 Taro CLI 3.5.0 environment info: System: OS: macOS 13.4.1 Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node Yarn: 1.22.17 - ~/.yarn/bin/yarn npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm npmPackages: @tarojs/cli: 3.6.16 => 3.6.16 @tarojs/components: 3.6.16 => 3.6.16 @tarojs/helper: 3.6.16 => 3.6.16 @tarojs/plugin-framework-react: 3.6.16 => 3.6.16 @tarojs/plugin-platform-weapp: 3.6.16 => 3.6.16 @tarojs/react: 3.6.16 => 3.6.16 @tarojs/runtime: 3.6.16 => 3.6.16 @tarojs/shared: 3.6.16 => 3.6.16 @tarojs/taro: 3.6.16 => 3.6.16 @tarojs/taro-loader: 3.6.16 => 3.6.16 babel-preset-taro: 3.6.16 => 3.6.16 eslint-config-taro: 3.6.16 => 3.6.16 react: 18.2.0 => 18.2.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
相关平台
微信小程序
小程序基础库: 3.2.1
使用框架: React
复现步骤
使用旧版canvas(新版canvas api没问题,项目原因没办法用新版),swiper item里的组件如果有canvas,如果把组件销毁了,组件里面的canvas不会销毁,代码结构类似于
期望结果
在组件销毁时组件里的canvas也能正常销毁
实际结果
在组件销毁时组件里的canvas不能正常销毁
环境信息
The text was updated successfully, but these errors were encountered: