react-scrollbar v0.4.0 Release Notes

Release Date: 2016-03-07 // about 8 years ago
  • ๐Ÿ†• 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)