Skip to content
New issue

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

Taro项目 编译成Swan小程序后 在swan模拟器上正常,但是在真机上就出现canvas事件卡顿 以及 层级问题 #17197

Open
VaneBoy opened this issue Jan 13, 2025 · 3 comments

Comments

@VaneBoy
Copy link

VaneBoy commented Jan 13, 2025

相关平台

百度小程序

小程序基础库: 4.110.1
使用框架: Vue 3

复现步骤

https://github.com/VaneBoy/taro-demo.git

swan小程序在在真机上不能监听onTouchEnd事件 以及层级问题

期望结果

能监听到onTouchEnd,弹窗层级高于canvas绘图内容

实际结果

没有监听,canvas绘图内容高于弹窗
IMG_4305 PNG

环境信息

Taro CLI 4.0.8 environment info:
    System:
      OS: Windows 10 10.0.19045
    Binaries:
      Node: 20.14.0 - C:\Program Files\nodejs\node.EXE
      npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD   
    npmPackages:
      @tarojs/cli: 3.6.8 => 3.6.8
      @tarojs/components: 3.6.8 => 3.6.8
      @tarojs/helper: 3.6.8 => 3.6.8
      @tarojs/plugin-framework-vue3: 3.6.8 => 3.6.8
      @tarojs/plugin-html: ^3.6.10 => 3.6.11
      @tarojs/plugin-platform-alipay: 3.6.8 => 3.6.8
      @tarojs/plugin-platform-h5: 3.6.8 => 3.6.8
      @tarojs/plugin-platform-jd: 3.6.8 => 3.6.8
      @tarojs/plugin-platform-qq: 3.6.8 => 3.6.8
      @tarojs/plugin-platform-swan: 3.6.8 => 3.6.8
      @tarojs/plugin-platform-tt: 3.6.8 => 3.6.8
      @tarojs/plugin-platform-weapp: 3.6.8 => 3.6.8
      @tarojs/runtime: 3.6.8 => 3.6.8
      @tarojs/shared: 3.6.8 => 3.6.8
      @tarojs/taro: 3.6.8 => 3.6.8
      @tarojs/taro-loader: 3.6.8 => 3.6.8
      @tarojs/webpack5-runner: 3.6.8 => 3.6.8
      babel-preset-taro: 3.6.8 => 3.6.8
      eslint-config-taro: 3.6.8 => 3.6.8
@VaneBoy
Copy link
Author

VaneBoy commented Jan 13, 2025

而且onTouchStart onTouchMove onTouchEnd 不是很连贯
image

@VaneBoy
Copy link
Author

VaneBoy commented Jan 14, 2025

有没有可以帮下看下的

@VaneBoy VaneBoy changed the title swan 在真机上 监听不到touchend Taro项目 编译成Swan小程序后 在swan模拟器上正常,但是在真机上就出现canvas事件卡顿 以及 层级问题 Jan 14, 2025
@ShaoGongBra
Copy link
Contributor

好像除了微信小程序有2d同层渲染,其他的好像都没有同层渲染

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants