-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Fix slider colors in Android #16053
Fix slider colors in Android #16053
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@facebook-github-bot label Needs more information Generated by 🚫 dangerJS |
@shergin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Hey ! I noticed that the `minimumTrackTintColor` and `maximumTrackTintColor` are exchanged in iOS and Android. In iOS, `minimumTrackTintColor` is the left color and `maximumTrackTintColor` is the right color. In Android, `minimumTrackTintColor` is the right color and `maximumTrackTintColor` is the left color. With this code : ```jsx <Slider style={{ width: 300 }} minimumTrackTintColor="red" maximumTrackTintColor="blue" /> ``` |iOS|Android| |----|----| ||| |iOS|Android| |----|----| | (same)|| Closes facebook/react-native#16053 Differential Revision: D5910299 Pulled By: shergin fbshipit-source-id: 74851e4cc6d54f72ea2755200e26b0d921890b48
Summary: Hey ! I noticed that the `minimumTrackTintColor` and `maximumTrackTintColor` are exchanged in iOS and Android. In iOS, `minimumTrackTintColor` is the left color and `maximumTrackTintColor` is the right color. In Android, `minimumTrackTintColor` is the right color and `maximumTrackTintColor` is the left color. With this code : ```jsx <Slider style={{ width: 300 }} minimumTrackTintColor="red" maximumTrackTintColor="blue" /> ``` |iOS|Android| |----|----| ||| |iOS|Android| |----|----| | (same)|| Closes facebook/react-native#16053 Differential Revision: D5910299 Pulled By: shergin fbshipit-source-id: 74851e4cc6d54f72ea2755200e26b0d921890b48
Hey !
I noticed that the
minimumTrackTintColor
andmaximumTrackTintColor
are exchanged in iOS and Android.In iOS,
minimumTrackTintColor
is the left color andmaximumTrackTintColor
is the right color.In Android,
minimumTrackTintColor
is the right color andmaximumTrackTintColor
is the left color.With this code :
Before
After