githuboftigran / rn-range-slider

A native slider with range
MIT License
234 stars 130 forks source link

[V2] onPress methods do not work when rendering a TouchableOpacity as a thumb #72

Closed Cristi6 closed 3 years ago

Cristi6 commented 3 years ago

Hi, what I am trying to do is to simulate a fromUser on onValueChanged from v1, setting a fromUser local state on onPressIn on a TouchableOpacity (which is rendered as a thumb) but the onPressIn/onPress/onPressOut events do not trigger. And idea why or how can I work around this?

githuboftigran commented 3 years ago

@Cristi6 , I'll publish a new version in next few days. Will add those listeners.

githuboftigran commented 3 years ago

@Cristi6 , just published 2.0.3. Didn't add listeners, but added fromUser parameter to onValueChanged