simplebar icon indicating copy to clipboard operation
simplebar copied to clipboard

Double Scrollbar in Firefox on Windows

Open Johnnii360 opened this issue 2 years ago • 2 comments

Describe the bug I have a double scrollbar in Firefox on Windows. On Linux it's all fine.

Bildschirmfoto vom 2023-03-01 16-13-35

To Reproduce Here the customized simplebar.css: https://gist.github.com/Johnnii360/12e8e96bbcc5effd2db017892dc41c81

Expected behavior Just only the Simplebar visible.

Reproducible example

See above. Due to customization difficult to jsfiddle.

Additional context

Your environment

Software Version(s)
SimpleBar v6.2.1
Browser latest Firefox on Linux and Windows
npm/Yarn -
Operating System Ubuntu 22.04.3 LTS & Windows 10 VM

Johnnii360 avatar Mar 01 '23 15:03 Johnnii360

Issue also appears on Chrome. Resolved with the following css:

overflow: 'hidden', overflowY: 'scroll', '&::-webkit-scrollbar': { display: 'none', }, '-ms-overflow-style': 'none',

something doesn't seem right.

jewseppi avatar Mar 24 '23 15:03 jewseppi

I was able to remove all of the above and just set height = 100% on the scrollbar

jewseppi avatar Mar 24 '23 15:03 jewseppi