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

移动端浏览器中,月份的显示bug #83

Open
ResponseState200 opened this issue Jun 28, 2020 · 2 comments
Open

移动端浏览器中,月份的显示bug #83

ResponseState200 opened this issue Jun 28, 2020 · 2 comments

Comments

@ResponseState200
Copy link

image
移动端的浏览器中渲染日历插件,在切换了月份之后会出现这种样式出差的情况,看了一下源码,月份切换显示只有px跟rpx两个单位导致了该问题的发生

@EmiyaGm
Copy link

EmiyaGm commented Nov 13, 2020

同样的问题,并且在某些设备里会显示成上一个月,我估计是定位样式出问题

@EmiyaGm
Copy link

EmiyaGm commented Nov 13, 2020

image
移动端的浏览器中渲染日历插件,在切换了月份之后会出现这种样式出差的情况,看了一下源码,月份切换显示只有px跟rpx两个单位导致了该问题的发生

应该是你其他元素的样式都被转成 rpx 单位了,而这个地方的内联样式用的 px 就导致了错位

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