-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Slider has been extracted from react-native core and will be removed in a future release #22
Comments
you can use it now via |
@sodik82 I am still getting a warning, even when I do provide this prop. My Code:
|
can you try with |
@sodik82 Yip, worked. Thanks! |
@sodik82 Actually I have to reopen, the issue still persists. It was only gone shortly but the warning is back on every reload of my app. Same stack trace as above. |
same goes to me .. but when using trianglecolerpicker the error do not pop out when everytime I reload the app
|
Thanks, I added import Slider from '@react-native-community/slider'; and it works |
I made a post earlier saying that I had figured out how to add the react-native-community slider and then set the color on it by providing this as the sliderComponent
However, I realized that providing it this way changes the color of the slider but then the sliders stop working. Is there any props that I can add that would make it so that the sliders still work? |
@Jake-Mulhern - you need to pass prop to the slider so that it can work
|
@sodik82 when I pass {...props} in to the component it breaks the sliders. They are just stuck in the same location and won't move even if I don't pass the minimumTrackTintColor in as another prop. When I log the props being passed in I get this.
|
It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. See https://github.com/react-native-community/react-native-slider
The text was updated successfully, but these errors were encountered: