Closed ortiza5 closed 1 year ago
It looks like Vivaldi is incorrectly returning a window.innerWidth of 0 on the first load as pointed out in #106.
window.innerWidth
0
I am not too sure what the original "scrollbar jump fix" does, but I added in a check to set the width to 100% if a value of 0 is found.
100%
Hopefully Vivaldi fixes this bug, but this seems like a good workaround for now.
Actually, it looks like Vivaldi has fixed this in there upcoming release 5.6.2829.3, so it should be fixed before too long. I will close this out.
5.6.2829.3
It looks like Vivaldi is incorrectly returning a
window.innerWidth
of0
on the first load as pointed out in #106.I am not too sure what the original "scrollbar jump fix" does, but I added in a check to set the width to
100%
if a value of0
is found.Hopefully Vivaldi fixes this bug, but this seems like a good workaround for now.