New features:
smooth scrolling
- new
smoothScrolling
prop - when set to true, smooth scrolling for both scrollbars is enabled.
minimal scrollbar size
- new
minScrollSize
prop - using this prop it's possible to set minimal size in px for both scrollbars.
possibility to swap wheel axes
- new
swapWheelAxes
prop - after set to true, mouse wheel event has swapped directions. So normal scrolling moves horizontal scrollbar and scrolling with SHIFT key moves vertical scrollbar. It could be useful for applications with horizontal layout.
Separeted no-css build (#30)
- If you prefer including scrollbar without css styles boundled inline to js file it's possible to import package without them.
var ScrollArea = require('react-scrollbar/no-css');
support for universal apps (#28)
- it's only one requirement: you have to use
react-scrollbar
in no-css version
Possibility to move scrollbar by clicking on scrollbar container
- After click, scrollbar moves to cursor position
Inertial scrolling for touch devices (#9)
Bug fixes:
- scrollBottom && scrollRight position issue (#21)
- Improper handling of mouse events (#26)