react-native-slider

React Native component exposing Slider from iOS and SeekBar from Android

MIT License

Downloads
1.4M
Stars
1.1K
Committers
129

Bot releases are visible (Hide)

react-native-slider - v4.5.2: New arch measurements hotfix Latest Release

Published by BartoszKlonowski 6 months ago

This release brings the hotfix for the last new arch measurement:

  • Fix missing header guard by @alanjhughes in #592
react-native-slider - v4.5.1: New architecture adjustments, fixes and QOL updates

Published by BartoszKlonowski 6 months ago

Hello community!

As the new architecture is getting closer, libraries are prepared to meet all it's requirements and users/devs expectations that the library runs just fine when using new architecture.
This release brings such improvements and under-the-hood adjustments to the Slider, made in
PR 589: fix: new arch measurements on Android by @okwasniewski.

Also, huge THANK YOU 🙏 to all contributors for:

I have to mention, that many of these PRs and contributions were made without any specific issues, or reports or request, so I appreciate all the help!

For full changelog see: https://github.com/callstack/react-native-slider/compare/v4.5.0...v4.5.1

Also:
As you may find out, there are two new props already present in the README that are marked as ☣️ experimental ☣️.
They are related to new feature(s): custom step marker, which is still under some constructions, but it's code is already on the main branch.
Feel free to use it, play with it, experiment with it, but please remember it's still to be polished.
Also, before officially released, this feature could definitely use some issue reports or feedback.

Have a nice day!

react-native-slider - v4.5.0: Support for React Native Vision OS

Published by BartoszKlonowski 10 months ago

This release introduces the Slider now supporting the React Native Vision OS,
Huge thanks to @okwasniewski delivering it in #560.

Also, please checkout the React Native Vision OS and all the work that is being done there!

react-native-slider - v4.4.4: iOS and Android dependencies and configuration

Published by BartoszKlonowski 11 months ago

This release introduces:

  • Use install_module_dependencies in podspec file (#556)
    by @cipolleschi
  • fix(android): android gradle plugin 8 compatibility (#553)
    by @mikehardy

As always - thank you very much to contributors! 🙏

react-native-slider - v4.4.3: Bugfixes and improvements

Published by BartoszKlonowski about 1 year ago

This release brings couple of fixes:

  • Upper/lower limits not working (#469)
    PR #525
  • Invariant Violation: [4113,"RNCSlider",{"value":"<>"}] is not usable as a native method argument (#345)
    PR #513

as well as some "under-the-hood" improvements:

  • Update the compatibility table in README (#516)
  • bump windows min (#508)
    By @TatianaKapos
  • Comment thumbThintColor about conflicts with thumbImage regarding fixing #346
react-native-slider - v4.4.2: Bugfixes

Published by BartoszKlonowski over 1 year ago

This release brings fixes to and solutions to following issues:

  • Changes in value trigger onSlidingComplete callback for Android (#487)
    PR #489
  • Missing TS support resulting in: JSX element class does not support attributes because it does not have a 'props' property. (#488)
    PR #486 by @alpha0010
  • ThumbImage work in Android but not in iOS (#346)
react-native-slider - v4.4.1: Bugfixes

Published by BartoszKlonowski over 1 year ago

This release introduces fixes to the following issues and defects:

  • Slider doesn't work in a horizontal scrolling container on web (e.g. tab view)
    PR #472 by @motiz88
  • mutating minimumValue and/or maxiumumValue failed to update UI
    PR #465 by @jspizziri
  • onValueChanges is called on programmatic value changes on Android
react-native-slider - v4.4.0: Sliding limit feature and revived Web support

Published by BartoszKlonowski almost 2 years ago

I'm super happy to release the Slider with v4.4.0 which brings you two significant improvements:

  • Sliding limit feature - authored by @alfonsocj in #432. This feature introduces two new properties: lowerLimit and upperLimit.
    These new props will prevent user from sliding below or above their values. This pull request also added the example cases of how to use these new props, so definitely check this PR for more details.
    Also thanks to @erikaannesmith for pushing this topic forward at some point.
  • Revived Web support - authored by @jspizziri in #462. This implementation actually brings back the Web support of Slider, but also introduces the missing thumbImage support to the web implementation.
    This pull request also introduced the example-web/ which shows the state of web platform support of Slider.
    There were also several defects fixed within this one PR, and actually too many for me to list them here, so please spent a minute checking out this work.

I would like to say huge THANK YOU to @alfonsocj, @jspizziri and @erikaannesmith for their contribution to the Slider. 💪


As always, this release brings few internal chore improvements, so in case of any issues please do not hesitate to reach out to Issues section, or create a new issue in case of encountering anything new.

react-native-slider - v4.3.3: Quality of Live improvements and bugfixes

Published by BartoszKlonowski almost 2 years ago

This release brings some fixes and improvements to the Slider, including:

  • fix(#249): regarding issue introduced in IOS 14 UISlider needs to force the layout (#450)
    @MateWW
  • Replace dispatchModern() calls with getEventData() (#444)
    @notjosh
  • Fix types being present as a prod dependency (#448)
    @liamjones
  • Update the documentation for accessibilityIncrements (#441)
    @appfr3d

All of the listed fixes were made by new contributors so huge "Thank you!" to them for their contributions 👍

react-native-slider - v4.3.2: Slider installation fail - fix

Published by BartoszKlonowski about 2 years ago

This release fixes the Slider installation previously failing due to README that could not be found (#430).
The fix:

  • Fix: move postinstall script to prepack #433

was provided to you by @rborn

react-native-slider - v4.3.1: New arch hotfixes

Published by BartoszKlonowski about 2 years ago

This release brings two hotfixes of issues introduced along with new architecture release:

  • Configure buildscript only for new arch (#419)
  • [Fabric] Fix hot reloading causing photo jumps (#413)
react-native-slider - v4.3.0: React Native new architecture support

Published by BartoszKlonowski about 2 years ago

This version introduces the support of React Native new architecture.
This was implemented in #410 by @okwasniewski
It was a huge amount of decent work, so I strongly encourage to check out the PR and give the Slider a go with new architecture in your app.
To do that, upgrade Slider package in your app and follow the official guide on how to migrate your app to new architecture.

This update does also introduce some improvements/changes "under the hood" so in case of any problems/errors please report them by creating new issue.

react-native-slider - v4.2.4: Bug fixes and minor chore improvements

Published by BartoszKlonowski over 2 years ago

  • Fix: ignored step value during dragging (#393)
  • Update docs regarding controlled value (#392)
  • Removing hardcoded style attribute from the constructor causing resource not found error (#385)
    @KunalFarmah98
  • fix: Change WindowsTargetPlatformVersion to 10.0 (#384)
    @namrog84
react-native-slider - v4.2.3: Hotfix for Android default value

Published by BartoszKlonowski over 2 years ago

This release brings the hotfix for ignored default Android value issue.

  • fix: do not reset the seekbar listener when setting the value (#387)
react-native-slider - v4.2.2: Bugfixes and improvements

Published by BartoszKlonowski over 2 years ago

This release introduces several fixes and improvements, as well as some of the dependencies updates.

What has changed:

For full changelog please refer to: https://github.com/callstack/react-native-slider/compare/v4.2.1...v4.2.2

react-native-slider - v4.2.1: Fix for conflicting disable states in accessibility

Published by BartoszKlonowski over 2 years ago

  • Fix: Conflicting states for accessibility and non-accessibility users (#354)
    @fabriziobertoglio1987
react-native-slider - v4.2.0: Controlled value

Published by BartoszKlonowski over 2 years ago

This release introduces the value property refactored so that it can be easily used to programmatically control the position of the thumb.

Most important notes about the updated value property:

  • Can be used to programmatically control the position of the thumb,
  • Affects the thumb's position immediately once updated
  • Programmatic update to the value does not trigger the onValueChange event
  • When updated during manual dragging the manual update has priority
  • Property is still optional and can be still used as an initial value only

For more information please visit the PR implementing the feature: #349

react-native-slider - v4.1.12: Removed redundant flow-bin dependency

Published by BartoszKlonowski almost 3 years ago

  • Remove redundant flow-bin dependency (#341)
react-native-slider - v4.1.11: Fix of `unable to resolve dependency tree` when installing using npm

Published by BartoszKlonowski almost 3 years ago

  • Remove react-native-windows from peerDependencies (#338)
    @BartoszKlonowski
react-native-slider - v4.1.10: Bugfixes

Published by BartoszKlonowski almost 3 years ago

  • Slider should announce disabled when interacting with (#335)
  • Fix: OnSlidingComplete is launched at the end of tap event (#336)
  • Fix: can't drag to the end of track on iOS (#334)
    @BartoszKlonowski
  • Fix accessibility-related crash on Android 4.x (#220). (#248)
    @MarkCSmith
  • Use PorterDuff filter when setColorFilter is depracated (#331)
    @BartoszKlonowski
Package Rankings
Top 1.07% on Npmjs.org
Related Projects