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

页面在iframe中展示时rem设置的bug #197

Open
JingweiXiong opened this issue Oct 29, 2019 · 0 comments
Open

页面在iframe中展示时rem设置的bug #197

JingweiXiong opened this issue Oct 29, 2019 · 0 comments

Comments

@JingweiXiong
Copy link

当自己的页面被iframe嵌套使用时,给html设置的dpr正常,比如iphone7中dpr是2,但html的getBoundingClientRect()获取到的宽度是375,导致设置的rem值是一倍下的,这个bug能解决吗?

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

1 participant