React-Custom-Scroll

An easily designable, cross browser (!!), custom scroll with ReactJS
Animations and scroll rate exactly like native scroll

See a working demo

Why do I need this ?

How to use ?

wrap your content with the custom scroll component remove overflow style properties from your content root component - The custom scroll will take care of it

<customScroll>
  your content
</customScroll>

Options (react props)

Example for heightRelativeToParent
<customScroll heightRelativeToParent="calc(100% - 20px)"">
  your content
</customScroll>  

It doesn't work, please help me