here's an example
I need to make touchable knobs only, so touches on line won't affect on value ?
I tried make some changes in css to disable line like this
ion-range::part(bar) {
display: none;
}
But that didn't help
here's an example
I need to make touchable knobs only, so touches on line won't affect on value ?
I tried make some changes in css to disable line like this
ion-range::part(bar) {
display: none;
}
But that didn't help
This one works perfectly for me. Just add to css:
ion-range {
pointer-events: none;
}
ion-range::part(knob) {
pointer-events: auto;
}
Seems to work on most browsers. Have a look here: https://caniuse.com/pointer-events
Decided to append an element to an ion-range parent div and with styles like z-index and position: relative and it worked for me, just overflowed with div possible space on the line except the knobs, added transparent color and working good
Something like this