-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[BUG] White space on left side when scrolls are used on v1.2.0 #2271
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
Comments
Context: If I understand it correctly, then this appears to be due to an issue (described in "Known Issues" at https://caniuse.com/viewport-units) where (in this case) Chrome is incorrectly calculating tabler/core/scss/layout/_root.scss Lines 1 to 7 in f25da87
(As a result, in firefox margin-left resolves to 0px, but all other browsers would not).
|
Seems to correctly if I remove the margin and set the body to scroll. @media (min-width: 992px) {
:host,
:root {
margin-left: 0;
}
}
body {
overflow-y: scroll;
} |
I have the same issue on macOS in both Chrome and Firefox. It seems to be caused by the |
Given above comments, it appears that this issue is also affected by different browser's handling of 'classic' vs 'overlay' scrollbars. Several potential solutions are also outlined in the article. I tested a few of them roughly (forcing scrollbars to appear on my mac, while putting Setting |
Hello! There's any workaround to use by now, or just wait for a new release? |
@rdeavila - as mentioned above, setting (Without looking at it a whole lot more closely, My instinct is to think that #1648 requires an alternative solution, and that #2237 should be reverted or reworked). |
@ethancrawford When 'margin-left' was mentioned, I thought they were talking about the definitive solution, not that it could be used as a workaround (sorry, backend developer here). Thanks for clarifying! |
@rdeavila Ah, no worries, you're welcome. Not sure what the 'proper' solution is in this case, but hopefully it's not too complicated 🙂 |
Uh oh!
There was an error while loading. Please reload this page.
Browser
Chrome Versão 135.0.7049.86 (Versão oficial) 64 bits
OS
Windows 11
Screen size
1920x1080
Describe the bug
Hello!
On v1.2.0, when the page has content to scroll, a white space appears on the left side. The space is more proeminent with dark backgrounds.
When the page don't use a scroll, no space are shown.
How to reproduce
Screenshots
JSFiddle
No response
The text was updated successfully, but these errors were encountered: