githuboftigran / rn-range-slider

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

Tap to change slider position #148

Open dinumihnea opened 11 months ago

dinumihnea commented 11 months ago

Motivation

Based on guidelines for some popular design sistems the tap-to-change functionality is an important feature of a slider:

Approach

In order to add the tap-to-change functionality I used the onTouchEnd View event. Not sure how suitable this event is, I couldn't find any downsides of not using it. Let me know if you think there's a better event to be used.

Fixes #115