react-scrollbar-ie8
react-custom-scrollbars
most api just likeadditional Feature
-
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.
todo
- Optional use original scrollbar for Mac cause it's better than that.
- More smooth impl to prevent cascade scroll.