bartgryszko / react-native-circular-slider

React Native component for creating circular slider :radio_button:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Freeze one of the hands of the slider?

oliviachang29 opened this issue · comments

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

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

simply fix the value in onUpdate method

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

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.