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

SafeArea在微信webview中不生效,企业微信webview中生效 #5923

Closed
zkgaojianjian opened this issue Jan 9, 2023 · 2 comments
Closed
Labels

Comments

@zkgaojianjian
Copy link

Version of antd-mobile

5.27.0

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

https://mobile.ant.design/zh/components/safe-area

What happened?

safeArea控件在微信浏览器中不生效,在企业微信中生效,请尽快修复。
image
image

Relevant log output

官方demo即可
@xiaoyao96
Copy link
Collaborator

xiaoyao96 commented Jan 9, 2023

尝试检查项目中是否含有

<meta name="viewport" content="... viewport-fit=cover">

其中viewport-fit需为cover

相关文档地址 https://developer.mozilla.org/zh-CN/docs/Web/CSS/env

@longisla
Copy link

longisla commented Jul 9, 2024

请问安卓的webview生效了吗,viewport-fit设置cover后ios生效了,但安卓并没有生效

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

No branches or pull requests

4 participants