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

2.6.0版本升级后uni.getSystemInfoSync()出现样式问题 #1348

Closed
Kole6 opened this issue Feb 26, 2020 · 6 comments
Closed

2.6.0版本升级后uni.getSystemInfoSync()出现样式问题 #1348

Kole6 opened this issue Feb 26, 2020 · 6 comments
Assignees

Comments

@Kole6
Copy link

Kole6 commented Feb 26, 2020

2.6.0版本升级后uni.getSystemInfoSync()出现样式问题

在H5版本中,uni.getSystemInfoSync().windowHeight 现在变得非常小,已经不是窗口大小了!!!

@zhetengbiji
Copy link
Collaborator

2.6.0版本升级后uni.getSystemInfoSync()出现样式问题

在H5版本中,uni.getSystemInfoSync().windowHeight 现在变得非常小,已经不是窗口大小了!!!

获取的值和实际的值分别是多少?

@Kole6
Copy link
Author

Kole6 commented Feb 26, 2020

在H5版本中,uni.getSystemInfoSync().windowHeight现在版本获取的值不是实际的窗口大小,不知道是什么

@zhetengbiji
Copy link
Collaborator

zhetengbiji commented Feb 26, 2020

在H5版本中,uni.getSystemInfoSync().windowHeight现在版本获取的值不是实际的窗口大小,不知道是什么

你不是判断获取的值小么?那现在值是多少?比实际的小多少?有没有测试工程?

@Kole6
Copy link
Author

Kole6 commented Feb 26, 2020

image

@Kole6
Copy link
Author

Kole6 commented Mar 23, 2020

现在浏览器的修复了,微信小程序有同样的问题没有修复,期待尽快修复

@dcloudhdx
Copy link
Contributor

小程序平台getSystemInfoSync()由小程序提供,用原生小程序试试

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

4 participants