-
Notifications
You must be signed in to change notification settings - Fork 111
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
Subpixel values of container width #48
Comments
Hi I just set |
Unfortunately, I can not set width to fixed number of pixels, it is a percent value, and on various screens it is calculated to subpixel. |
Thanks, to the percent value, you can have a try to set |
I have tried setting sizeStrategy at first, but it didn't make any difference. Still, native scrollbar was peaking out for about 1px. |
Here's a minimal reproduction repo. If you don't see bug initialy, try resizing window to the width which will give Browser: |
Hi! Will be fixed in next release |
try |
Unforutnately, this bug is active again. You can try with updated reproduction repo |
Works well on my computer. Don't see the white line appear. OS: Does anyone else have the same problem too ? |
I am experiencing this with Windows 10 and Ubuntu 18.04, both running latest Chrome and Firefox browsers. |
http://aldinezi.tech/vuescrollsubpixel/ Hello, there is a deployed latest version, please test on browser stack or any other testing environment with non retina display. |
I dont know what causea this issue. I hide the native sceollbar by margin-right: -17px. But it seems that doesn't hide bar entirely. |
@wangyi7099
|
@Solomka12 I got over this issue by setting back container background color to match the one on front container, so there's no unstayled div leaks. That setting might cause you glitches with different browsers that have scrollbar width less or greather than 18px. |
When the wrapping container has witdth value in subpixels (eg. 500.25px), then applied gutter to minus right margin does not fully hide native scrollbar, while width values with decimal part above 0.5px work just fine.
The text was updated successfully, but these errors were encountered: