DustinBrett/daedalOS

Inconsistent scrollbar width causes hover shift in start menu

DustinBrett opened this issue · 1 comments

scrollbar-width is coming to Edge and Chrome and messing up the custom width I had for them. Also it was being used in Firefox which didn't support ::webkit-scrollbar. It's a bit of a mess and I will monitor to try and keep it looking good. The issue shows itself when hovering and going to the scrollbars in the start menu. Might need to get rid of all scrollbar-width code but I was using it for hiding the scrollbar via none so who knows.

Fixed by focusing on if webkit-scrollbar exists

eb594cc

Based on comment on MDN

image

https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar