You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ju5t I've had a look into this, and what is happening is when the scroll lock is applied, when a dropdown is open, these styles style="padding-right: 7px; overflow: hidden;" get applied to the <html> element.
I'm not exactly sure why there is a padding right being added.
What should also be happening is it would normally detect what overflow type you have, store it, remove it and apply overflow hidden. But your overflow is being applied to the body tag, and the scroll lock is being applied to the body tag, hence why the "double scroll" gap is happening (one is your body scroll bar and the other is the padding right).
Maybe @calebporzio can shed some light on why the padding right and why it's being applied to the html tag instead of body, as I would typically apply stuff to the body tag as you have.
Flux version
v1.0.29
Livewire version
v3.5.12
What is the problem?
This is a weird one. The issue appeared after upgrading to v1.0.29.
Our
body
-tag hasoverflow-y-scroll
. I don't know why.This renders a scrollbar, you can see a gap on the right. In our app itself the scrollbar does show, but in my screenshot it doesn't for some reason.
Whenever I open the select, it adds a second scrollbar:
Removing
overflow-y-scroll
solves the issue for us so feel free to close this. If anything it helps others coming across the same thing in the future.Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: