Jump to content
Search Community

Draggable scroll + custom scrollbar

Stephane Demotte test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi all,


I am looking for a custom scroll bar with Draggable Scroll.

For simulate a scroll like mcustomscrollbar or iscroll and keep the touch fonction for mobile.


I don't like the native scrollbar, i am looking for a thin/cute bar who appear only on mouse move.


Anyone have something like this ?


I have see : 


But not working on FF/IE


Thanks for reading :)

See the Pen WbvOrM by MAW (@MAW) on CodePen

Link to comment
Share on other sites

Hello Stephane Demotte, and Welcome to the GreenSock Forum!


Unfortunately Firefox has a bug that will restrict the scrollbar from being styled. Check out this Bugzilla report:





The ones used in Diaco's great example are propriety vendor prefixes that only work in Chrome or Safari webkit browsers.


How to style scrollbars in webkit:





IE can probably support some of those CSS properties to change the scroll bar.. see this:




I hope the above helps.. but until Firefox fixes their bug you will have to use jQuery or native JavaScript to fake scrollbar styles for cross browser until it is a standard in CSS.



  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...