githuboftigran / rn-range-slider

A native slider with range
MIT License
245 stars 137 forks source link

Tap to change slider position #148

Open dinumihnea opened 1 year ago

dinumihnea commented 1 year 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

cihangir-mercan commented 3 weeks ago

Is it also possible to show label for a short period after click