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

window 10下在缩放与布局大于100%时,-webkit-scrollbar引起的header滚动条计算错误。 #362

Closed
Junyan opened this issue Jul 26, 2019 · 1 comment

Comments

@Junyan
Copy link

Junyan commented Jul 26, 2019

系统

Windows 10

浏览器

Chrome 75.0.3770.142

问题

缩放与布局大于100%时,由于-webkit-scrollbar伪类的存在,元素的滚动条的宽度会小于常规的滚动条宽度。如果将缩放与布局或去掉-webkit-scrollbar伪类,一切正常。我觉得这是Chrome的一个bug。

缩放与布局:150%

批注 2019-07-26 194033

父元素滚动条宽度小于常规的滚动条宽度

批注 2019-07-26 193238

去掉拥有-webkit-scrollbar伪类的rc-table-hide-scrollbar,宽度正常

批注 2019-07-26 193335

缩放与布局: 100%

批注 2019-07-26 194002

宽度正常

批注 2019-07-26 193943

@Junyan
Copy link
Author

Junyan commented Jul 29, 2019

@afc163 #333

@Junyan Junyan changed the title Width problem of table head scrollbar in Chrome of Windows. window 10下在缩放与布局大于100%时,-webkit-scrollbar引起的header滚动条计算错误。 Jul 29, 2019
@Junyan Junyan closed this as completed Aug 3, 2019
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