dataloop-ai / components

Dataloop's component library
Apache License 2.0
3 stars 15 forks source link

bugfix/dat-67286-slider-input-field-resets #936

Closed venkateshnair183 closed 5 months ago

venkateshnair183 commented 5 months ago

Issue : Due to the debouce which is set for every 100 milliseconds and also converting the value to Number before setting the value , user is not able to set decimal values or move around in the input field using left and right arrow keys.

Fix : The slider input field resets after a interval of 100 milliseconds , updated the code so that the ref to the input is only updated when the value is updated and not always.

fadiDL commented 5 months ago

@venkateshnair183 @guyDataloop ill handle the failing tests with other components that are failing