bartgryszko / react-native-circular-slider

React Native component for creating circular slider :radio_button:
MIT License
876 stars 190 forks source link

Freeze one of the hands of the slider? #14

Open oliviachang29 opened 7 years ago

oliviachang29 commented 7 years ago

I was wondering how I could freeze one of the hands of the slider, leaving only one of the hands workable.

cinder92 commented 7 years ago

+1

cinder92 commented 7 years ago

@oliviachang29 did you figured out how to freeze one of the hands?

marwakhalil commented 7 years ago

simply fix the value in onUpdate method

onUpdate = ({ startAngle, angleLength }) => { this.setState({ startAngle: 0, angleLength: roundAngleToFives(angleLength) }); }

amitbravo commented 11 months ago

and I have a problem that one is already freezed on my side, bedtime icon is not moving at all . I am following example, I do not know what I am doing wrong.