Skip to content

Releases: souhe/reactScrollbar

v0.3.1

29 Nov 16:48
Compare
Choose a tag to compare

Bug fixes:

  • Fixed scrollbar speed on Firefox. Now it's the same as in other browsers
  • Fixed gulp build tasks

v0.3.0

21 Nov 17:49
Compare
Choose a tag to compare
  • New context methods:

    • scrollTop() -
      It allows to scroll to the top of ScrollArea component.
    • scrollBottom() -
      It allows to scroll to the bottom of ScrollArea component.
    • scrollXTo(topPosition) -
      It moves vertical scrollbar to topPosition.
    • scrollLeft() -
      It allows to scroll to the left of ScrollArea component.
    • scrollRight() -
      It allows to scroll to the right of ScrollArea component.
    • scrollYTo(leftPosition) -
      It moves horizontal scrollbar to leftPosition.
  • Bug fixes

    • fixed browserify support

Inline styles props

12 Oct 21:30
Compare
Choose a tag to compare

New props for inline styles:

  • style - Inline styles applied to the main scroll area component.
  • contentStyle - Inline styles applied to element with scroll area content
  • horizontalContainerStyle - Inline styles applied to horizontal scrollbar's container
  • horizontalScrollbarStyle - Inline styles applied to horizontal scrollbar
  • verticalContainerStyle - Inline styles applied to vertical scrollbar's container
  • verticalScrollbarStyle - Inline styles applied to vertical scrollbar

Version 0.2

09 Oct 22:04
Compare
Choose a tag to compare
  • refresh() method

    To each child could be injected an object scrollArea contains method refresh() which could refresh react scrollbar state.
    When using React 0.13 it's necessary to wrap <ScrollArea> child into a function. This is a temporary workaround for a React 0.13 context issue, which is fixed in React 0.14.

  • Touch support

    Now React Scrollbar supports touch events.

  • React 0.14 support

  • No need to include css styles to project anymore.

    Styles are now boundled together with scripts.