most api just like react-custom-scrollbars
-
stayle in css.You need import style manually :
import react-scrollbar-ie8/lib/scrollbar.css
-
compatibility for IE8 (Progressive enhancement).
-
getContainer
: (Function) return the container element . -
onWheel
event for further control. -
thumbStyle
&trackStyle
prop is available to change the default style in js. Besides you can also change the .scrollbar-track & .scrollbar-thumb in css. -
use original scrollbar for chrome and mac.
- More smooth impl to prevent cascade scroll.