RangeSlider.tsx validates its inputs within the component so that it can't send NaN to whatever component is using it. However, this validation does not allow a user to type "-" in the input fields, so negative numbers can't be typed (as the first character is "-", the validation immediately blocks the user's input, it works fine if you type your number then go back and add the "-").
RangeSlider.tsx
validates its inputs within the component so that it can't sendNaN
to whatever component is using it. However, this validation does not allow a user to type "-" in the input fields, so negative numbers can't be typed (as the first character is "-", the validation immediately blocks the user's input, it works fine if you type your number then go back and add the "-").