Constant switching between scrollbar and not

Added the video that shows the homarr page switching between having a scroll bar and not. Guessing it is the width of the page changing with the scroll bar causing it to remove it, then adding it, then removing and so on...
30 Replies
Manicraft1001
Manicraft10012y ago
Thanks for reporting this. As far as I can recall, this was already reported somewhere, but I can't find it anymore. It's hard to debug this, since it depends on the actual screen size, your OS render resolution and other factors Can you tell us what resolution and scaling you use?
Spillebulle
Spillebulle2y ago
100% 2560×1440p Chromium browser
Manicraft1001
Manicraft10012y ago
Okay. Can you measure the actual website size? Since your screen is used by taskbar, chrome, ... the actual screen will differ from 2560x1440. Do you know how to use the inspector?
Spillebulle
Spillebulle2y ago
Not at home atm, will do when I get back
Manicraft1001
Manicraft10012y ago
Ok no problem, let me know
Spillebulle
Spillebulle2y ago
Home now, what am I looking for?
Manicraft1001
Manicraft10012y ago
Nice I am now not at my PC anymore, but I'll just explain it here Can you open the inspector?
Spillebulle
Spillebulle2y ago
yes
Manicraft1001
Manicraft10012y ago
Then, you should see a DOM inspector with all elements Can you see that?
Spillebulle
Spillebulle2y ago
Yes, see all the elements
Manicraft1001
Manicraft10012y ago
Ok. Can you see "body"?
Spillebulle
Spillebulle2y ago
yes
Manicraft1001
Manicraft10012y ago
Good. Click on it Do you see the CSS below or right?
Spillebulle
Spillebulle2y ago
yes
Manicraft1001
Manicraft10012y ago
Do you also see the "element" rule? It's probably empty Or alternatively, a CSS rule called body
Spillebulle
Spillebulle2y ago
Many called body
Manicraft1001
Manicraft10012y ago
Okay
Spillebulle
Spillebulle2y ago
Manicraft1001
Manicraft10012y ago
Pick the element.style Click between the lines {} and enter "overflow: hidden;" Then, the switching of the scrollbar should go away.
Spillebulle
Spillebulle2y ago
It did
Manicraft1001
Manicraft10012y ago
Nice. Can you then hover the body element at the top again? The screen should go blue. Does this work?
Spillebulle
Spillebulle2y ago
yes but now I can't scroll
Manicraft1001
Manicraft10012y ago
If it does, you should see a resolution somewhere. What is it?
Spillebulle
Spillebulle2y ago
Manicraft1001
Manicraft10012y ago
Perfect, thanks. That's what I needed
Spillebulle
Spillebulle2y ago
Never seen decimals in resolutions
Manicraft1001
Manicraft10012y ago
That's to be expected. You can refresh the page and it will be scroll-able again If you want to temporarily fix your switching scrollbar, until we've implemented a fix, use this custom CSS:
body {
padding-bottom: 20px;
}
body {
padding-bottom: 20px;
}
That should make it go away temporarily
Spillebulle
Spillebulle2y ago
eh, I'll just create a button lower down for now. Then the scroll bar is always there
Thomas
Thomas2y ago
Can you explain to me how you figured out why it happens ? The body is not as big as the sidebar and it breaks ?
Manicraft1001
Manicraft10012y ago
An element is constantly changing it's size and shifting the layout, until it creates a searchbar and removes it again
Want results from more Discord servers?
Add your server