add touch events for tooltip on range input

This commit is contained in:
Freeplay 2023-05-17 12:53:00 -04:00
parent 49acbd10ae
commit 4bebe2187f

View file

@ -15,6 +15,8 @@
v-on:change="(x) => onChange(x)" v-on:change="(x) => onChange(x)"
@focus="tooltipShow" @focus="tooltipShow"
@blur="tooltipHide" @blur="tooltipHide"
@touchstart="tooltipShow"
@touchend="tooltipHide"
@mouseenter="tooltipShow" @mouseenter="tooltipShow"
@mouseleave="tooltipHide" @mouseleave="tooltipHide"
@input="(x) => inputVal = x.target.value" @input="(x) => inputVal = x.target.value"