Andrey

Results 3 comments of Andrey

you can just wrap it with TouchableWithoutFeedback and gets coordinates when user tap. `tapSliderHandler = (evt) => { this.refs.slider.measure((fx, fy, width, height, px, py) => { this.setState({value: (evt.nativeEvent.locationX - px)...

@Ashi90 , "px" is a just slider offset from the edge of the screen. So we calculate exactly the part of the pressed slider, except white space

@fadlykayo because react-native-slider takes its value from 0 (left edge) to 1 (right edge). therefore we need to find the percentage of the completed area. If user tapped on 61.16px...