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

Slider don't show progress when is disable #66

Open
ser-emejia opened this issue Mar 8, 2024 · 3 comments
Open

Slider don't show progress when is disable #66

ser-emejia opened this issue Mar 8, 2024 · 3 comments

Comments

@ser-emejia
Copy link

Hello, first of all, thank you for your work on this, is amazing!

I have an issue, when I add the prop disable the slider does not show the current progress, Am I missing something?

import { Slider } from 'react-native-awesome-slider';

<Slider
    disable={true}
    minimumValue={min}
    maximumValue={max}
    progress={progress}
    thumbWidth={0}
    renderBubble={() => null}
    heartbeat={bufferingDuringPlay}
 />
@alantoa
Copy link
Owner

alantoa commented May 8, 2024

Hey, have you checked what happens if you set disableMinTrackTintColor?

<Slider
  theme={{
    disableMinTrackTintColor: '#fff',
    maximumTrackTintColor: '#fff',
    minimumTrackTintColor: '#000',
    cacheTrackTintColor: '#333',
    bubbleBackgroundColor: '#666',
    heartbeatColor: '#999',
  }}
/>

@alantoa
Copy link
Owner

alantoa commented May 8, 2024

I assume that the progress is being updated, but the color is the same as the track bar color.
lmk if it doesn't work

@ser-emejia
Copy link
Author

I assume that the progress is being updated, but the color is the same as the track bar color. lmk if it doesn't work

It works! Thank you :)

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

2 participants