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

微信h5使用wujie后,在子应用展示二维码,ios长按二维码无响应,无法实现保存,分享,转发等操作,安卓正常 #837

Closed
vscoderwhy opened this issue Apr 17, 2024 · 2 comments

Comments

@vscoderwhy
Copy link

No description provided.

@yiludege
Copy link
Collaborator

https://developers.weixin.qq.com/community/develop/doc/0008eebe57c988d7ff7e747bf56800

微信的问题哦

@vscoderwhy
Copy link
Author

好的,感谢你的帮助,我已经解决了此问题
可以在子应用需要长按识别的图片添加touchstart.prevent将地址传到主应用,主应用再动态创建img,赋值src并脱离文档流进行全屏展示,此时能够触发长按识别二维码等图片,松手后,再通过touchcancel.prevent和touchend.prevent,触发删除此前在主应用创建的img标签即可

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