Hide scrollbar with display:none #528
                  
                    
                      miguelbinue
                    
                  
                
                  started this conversation in
                Show and tell
              
            Replies: 2 comments
-
| 
         I don't see much of this use case, only saw some awwwards sites which use smooth scroll libs without scrollbar  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         If you want to completely remove the scrollbar tracks, try: scrollbar.track.xAxis.element.remove();
scrollbar.track.yAxis.element.remove(); | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation
How could I hide the scrollbar, but maintaining the functionalities on the website?
Proposal
I added this to my css file:
.scrollbar-track {
display: none !important;
}
It disables the styles of the scrollbar.
I'm new in coding and smooth-scrollbar as well, but I hope this could help newbies.
Beta Was this translation helpful? Give feedback.
All reactions