Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-slider

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-slider - npm Package Versions

1
6

1.0.7

Diff

Changelog

Source

1.0.7 (2020-05-17)

Bug Fixes

  • make sure resize is called after the DOM is ready when re-rendering (46f616e), closes #136
stonebk
published 1.0.6 •

Changelog

Source

1.0.6 (2020-05-10)

Bug Fixes

  • prevent vertical scroll on thumb touch (#171) (2f6dda3)
stonebk
published 1.0.5 •

Changelog

Source

1.0.5 (2020-05-09)

stonebk
published 1.0.4 •

Changelog

Source

1.0.4 (2020-04-24)

Bug Fixes

  • update offset calculation to support IE >=9 (78718d1)
stonebk
published 1.0.3 •

Changelog

Source

1.0.3 (2020-02-14)

Bug Fixes

  • change event handlers are now more reliable (f1282d4), closes #161
  • no need to pause touch events as they do not cause text selection (8e3e275), closes #162
stonebk
published 1.0.2 •

Changelog

Source

1.0.2 (2020-01-11)

Bug Fixes

  • clicking on the track of a vertical slider should move the correct handle (114a56d), closes #156
  • make sure borders are accounted for when calculating the slider size (9e6f2f4), closes #152
stonebk
published 1.0.1 •

Changelog

Source

1.0.1 (2019-10-22)

Bug Fixes

  • mark componentWillReceiveProps as UNSAFE (c6e8439), closes #149
stonebk
published 1.0.0 •

Changelog

Source

1.0.0 (2019-09-27)

Bug Fixes

  • onAfterChange was not being fired (71746b2), closes #3
  • add IE11 arrow key support (20afb9e)
  • aria keyboard support corrected so that left and down decreases and right and up increases (1739606), closes #144
  • do nothing when right clicking on the slider (9fa9eb4)
  • Home and End keys no longer scroll the page when setting the value (e8c8e1f)
  • remove active state on thumb on blur (f05c7b1)
  • the active thumb should get focus when a value is selected (f1cc0cc)

Code Refactoring

  • remove support for custom thumbs via children (3cb3413)

Features

  • "handle" and "bar" are now "thumb" and "track" to follow input[type=range] nomenclature (e4e8ff8)
  • ariaValuetext now supports a function for dynamic value text (021a547)
  • renderThumb now renders the entire thumb node rather than just the thumb content (669dcdb)
  • withTracks is now true by default (a450420)
  • add renderBar render prop for customizing bar content (0de9013)
  • add renderHandle render prop for dynamic handle content (c87ed4b)
  • add valueNow to state objects of ariaValuetext and renderThumb for easier access to the current value (94712f2)
  • add aria-orientation to slider (5125a98)
  • add support for Page Up and Page Down keys (ed67408)
  • pass value state to render props (8b0615d)
  • remove dependency on create-react-class (648512e)
  • the paging value is now configurable via the pageFn prop (de75419)

BREAKING CHANGES

  • The render props renderThumb and renderTrack are now passed two arguments instead of one, props and state. This makes it easier to just spread props when using a render function.
  • renderThumb was previously given the indexed handle value which now needs to be derived from value and `index.
  • custom thumbs via children is no longer supported. To customize thumbs, use the renderThumb render prop instead.
  • withTracks is more commonly true than false, so we are making that the default
  • "handle" and "bar" props have been renamed to "thumb" and "track", e.g. withBars is now withTracks, and handleClassName is now thumbClassName
stonebk
published 1.0.0-0 •

mpowaga
published 0.11.2 •

Changelog

Source

1.0.0 (2019-09-27)

Bug Fixes

  • onAfterChange was not being fired (71746b2), closes #3
  • add IE11 arrow key support (20afb9e)
  • aria keyboard support corrected so that left and down decreases and right and up increases (1739606), closes #144
  • do nothing when right clicking on the slider (9fa9eb4)
  • Home and End keys no longer scroll the page when setting the value (e8c8e1f)
  • remove active state on thumb on blur (f05c7b1)
  • the active thumb should get focus when a value is selected (f1cc0cc)

Code Refactoring

  • remove support for custom thumbs via children (3cb3413)

Features

  • "handle" and "bar" are now "thumb" and "track" to follow input[type=range] nomenclature (e4e8ff8)
  • ariaValuetext now supports a function for dynamic value text (021a547)
  • renderThumb now renders the entire thumb node rather than just the thumb content (669dcdb)
  • withTracks is now true by default (a450420)
  • add renderBar render prop for customizing bar content (0de9013)
  • add renderHandle render prop for dynamic handle content (c87ed4b)
  • add valueNow to state objects of ariaValuetext and renderThumb for easier access to the current value (94712f2)
  • add aria-orientation to slider (5125a98)
  • add support for Page Up and Page Down keys (ed67408)
  • pass value state to render props (8b0615d)
  • remove dependency on create-react-class (648512e)
  • the paging value is now configurable via the pageFn prop (de75419)

BREAKING CHANGES

  • The render props renderThumb and renderTrack are now passed two arguments instead of one, props and state. This makes it easier to just spread props when using a render function.
  • renderThumb was previously given the indexed handle value which now needs to be derived from value and `index.
  • custom thumbs via children is no longer supported. To customize thumbs, use the renderThumb render prop instead.
  • withTracks is more commonly true than false, so we are making that the default
  • "handle" and "bar" props have been renamed to "thumb" and "track", e.g. withBars is now withTracks, and handleClassName is now thumbClassName
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc