I'm making a web application and i can't seem to get rid of the scrollbars of the menus on Mozilla Firefox. It works perfectly in every browser i tested except for firefox.
Here's the css i use for the scrolls, works in Chrome, IE, Edge and Opera so far, but not in firefox.
.main-sidebar{
position:fixed
}
.bar{
max-height: 400px;
overflow-y: scroll;
}
.bar::-webkit-scrollbar {
display: none;
}
.bar {
-ms-overflow-style: none;
overflow:hidden;
}
html {
overflow: scroll;
overflow-x: hidden;
}
::-webkit-scrollbar {
width: 0px; /* remove scrollbar space */
background: transparent; /* optional: just make scrollbar invisible */
}
.bar is the class of the div where i want the scroll hidden. The menu scrolls fine but it's not hidden on firefox. Any thoughts ?