Skip to content
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

Thumb tint color #409

Open
witekmikolajczak opened this issue Jul 4, 2023 · 0 comments
Open

Thumb tint color #409

witekmikolajczak opened this issue Jul 4, 2023 · 0 comments

Comments

@witekmikolajczak
Copy link

witekmikolajczak commented Jul 4, 2023

Hello!

Has anyone else had a problem with the transparency of the dot on the slider in android systems? On IOS it's perfect ;) . Is there any workaround for this problem?

android:
image

ios:
image

code:

           <Slider
              thumbTintColor="#FFFFFF"
              minimumValue={0}
              maximumValue={duration}
              step={duration / 1000}
              value={time}
              minimumTrackTintColor="lightblue"
              maximumTrackTintColor="rgba(255, 255, 255, 1)"
              onSlidingStart={() => {
                soundRef.current.pause();
              }}
              onSlidingComplete={() => {
                if (isPlaying) {
                  soundRef.current.play();
                }
              }}
              onValueChange={(value) => {
                soundRef.current.setCurrentTime(value[0]);
              }}
            />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant