Skip to content

Releases: malte-wessel/react-custom-scrollbars

v3.1.0

16 Mar 10:12
Compare
Choose a tag to compare
  • Added onUpdate property

v2.3.0

04 Feb 17:45
Compare
Choose a tag to compare
  • Do not render (instead of hide) custom scrollbars when native scrollbars have no width
  • Removed validation messages, since we cannot be sure that the messages are appropriate (without running expensive checks)
  • Documented getValues method
  • Code clean up
  • Updated eslint

v3.0.1

15 Feb 09:48
Compare
Choose a tag to compare
  • added umd build

v3.0.0

12 Feb 15:46
Compare
Choose a tag to compare

BREAKING

  • onScroll handler now called outside of animation frame. The values object will no longer passed. Please use onScrollFrame
  • renderScrollbarsHorizontal is now renderTrackHorizontal
  • renderScrollbarsVertical is now renderTrackVertical
  • Check out the upgrade guide

New features

  • added auto hide mode
  • added universal mode
  • added onScrollFrame handler
  • added onScrollStart handler
  • added onScrollEnd handler
  • added thumbMinSize property
  • added thumbSize property

Improvements

  • Code coverage 100%
  • Better performance
  • Better rendering

v2.2.2

28 Jan 11:06
Compare
Choose a tag to compare
  • removed redundant code
  • added warnings

v2.2.1

23 Jan 09:41
Compare
Choose a tag to compare
  • removed unused methods

v2.2.0

23 Jan 09:38
Compare
Choose a tag to compare
  • fixed #15
  • clean up code

v2.1.2

18 Jan 16:22
Compare
Choose a tag to compare

Bugfixes:

  • cancel animation frame when component will unmount

v2.1.1

17 Jan 14:04
Compare
Choose a tag to compare
  • fix calling onScroll when scrollbarsWidth = 0

v2.1.0

17 Jan 13:24
Compare
Choose a tag to compare
  • fixed #11
  • added getter functions:
  • getScrollLeft: get scrollLeft value
  • getScrollTop: get scrollTop value
  • getScrollWidth: get scrollWidth value
  • getScrollHeight: get scrollHeight value
  • getWidth: get view client width
  • getHeight: get view client height