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

在 ios13.4.1 的微信内置浏览器中无法使用 #2229

Open
nieyt opened this issue May 13, 2020 · 22 comments
Open

在 ios13.4.1 的微信内置浏览器中无法使用 #2229

nieyt opened this issue May 13, 2020 · 22 comments

Comments

@nieyt
Copy link

nieyt commented May 13, 2020

  • html2canvas version tested with: 1.0.0-rc.5
  • Browser & version: 微信内置浏览器
  • Operating system: ios13.4.1
    问题描述:
    html2canvas(document.getElementById('capture') as HTMLElement).then((canvas) => { // 没跑进来,ios系统没升级前是好的 }).catch((err) => { // 也没跑进来 })
    logger停留在第一步:
    1720e1edc7d 0ms Starting document clone
    就卡住了没往下跑
@nieyt nieyt changed the title ios13.4.1 在微信内置浏览器中无法使用 在 ios13.4.1 的微信内置浏览器中无法使用 May 13, 2020
@guoyiheng
Copy link

+1

@guoyiheng
Copy link

guoyiheng commented May 14, 2020

"html2canvas": "1.0.0-rc.4" can solve this problem

@fuss228
Copy link

fuss228 commented May 14, 2020

"html2canvas": "1.0.0-rc.4" can solve this problem

iOS 13.4.1, iPhone 6 Plus 微信版本 7.0.12
依旧没解决该问题

@guoyiheng
Copy link

"html2canvas": "1.0.0-rc.4" can solve this problem

iOS 13.4.1, iPhone 6 Plus 微信版本 7.0.12
依旧没解决该问题

delete old modules .
delete package-lock.json.
write "html2canvas": "1.0.0-rc.4" to package.json.
try npm i html2canvas again.
step by step

@fuss228
Copy link

fuss228 commented May 14, 2020

"html2canvas": "1.0.0-rc.4" can solve this problem

iOS 13.4.1, iPhone 6 Plus 微信版本 7.0.12
依旧没解决该问题

delete old modules .
delete package-lock.json.
write "html2canvas": "1.0.0-rc.4" to package.json.
try npm i html2canvas again.
step by step

还是不行 参照以下方法 解决了

https://developers.weixin.qq.com/community/develop/doc/00006eee95488060bb1ac5bd85b000
https://github.com/FEA-Dven/html2Canvas

@Bravo123
Copy link

+1 楼上的方法似乎没有解决问题

@lwpassvoice
Copy link

++++++++++++++++++1

@Romeys
Copy link

Romeys commented May 15, 2020

傻瓜,换rc.4版本,微信清除缓存,继续试

@zhoujiachang
Copy link

回退到rc.4版本ok

@Will-Liug
Copy link

回退到rc.4版本ok

怎么换版本啊

@Romeys
Copy link

Romeys commented May 20, 2020 via email

@zhoujiachang
Copy link

回退到rc.4版本ok

怎么换版本啊

npm里下载指定版本 npm i html2canvas@1..0.0.-rc.4

@Will-Liug
Copy link

回退到rc.4版本ok

怎么换版本啊

npm里下载指定版本 npm i html2canvas@1..0.0.-rc.4

谢谢 已解决

@zoujian3820
Copy link

+1

@zoujian3820
Copy link

+1

已解决了

@455449788
Copy link

+1楼上的方法似乎没有解决问题

兄弟解决了吗

@xiaojue
Copy link

xiaojue commented Jun 23, 2020

1.0.0-alpha.12 也可以解决

@liwens
Copy link

liwens commented Jul 18, 2020

"html2canvas": "1.0.0-rc.4" can solve this problem

iOS 13.4.1, iPhone 6 Plus 微信版本 7.0.12
依旧没解决该问题

delete old modules .
delete package-lock.json.
write "html2canvas": "1.0.0-rc.4" to package.json.
try npm i html2canvas again.
step by step

还是不行 参照以下方法 解决了

https://developers.weixin.qq.com/community/develop/doc/00006eee95488060bb1ac5bd85b000
https://github.com/FEA-Dven/html2Canvas

你要把package.json 版本号的 “^” 或者 “~”删掉。直接写1.0.0-rc.4。锁版本才行

@Eason-one
Copy link

用小程序webview打开外部页面,外部页面的截图功能按钮ios点了没反应~安卓却可以,这个要怎么解决,版本已经是1.0.0-rc.4了

@stillsilly
Copy link

亲测改成1.0.0-rc.4可以,不行的可能是没删干净

@weiqiujuan
Copy link

用小程序webview打开外部页面,外部页面的截图功能按钮ios点了没反应~安卓却可以,这个要怎么解决,版本已经是1.0.0-rc.4了

解决了吗

@zhangming8691
Copy link

zhangming8691 commented Nov 16, 2021

"html2canvas": "1.0.0-rc.4" can solve this problem

It works, thank you very much.

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