#Slider onChangeEnd event

8 messages · Page 1 of 1 (latest)

tranquil vault
#

Hey, is it expected that circle is not moving while I drag it if I define only onChangeEnd event? I don't want to use onChange as it is called to often and makes my service call overloaded. But when I set onChangeEnd event only, circle is not shows moving while I change it.

fluid yew
#

you can put value setter in onChange and service call in onChangeEnd

tranquil vault
#

It worked perfectly, thanks

frosty sleet
#

@tranquil vault @fluid yew Can you show what that looks like in code to a complete react noob?

frosty sleet
#

Or rather, do either of you know how to achieve the desired behaviour with rangeSlider?

fluid yew
#

what is the desired behaviour you want

frosty sleet
#

Omg, I was just being stupid, don't know how I missed that in the docs. Thanks 😅