We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4286858 commit 1dc2fa3Copy full SHA for 1dc2fa3
src/components/fields/Slider/SliderThumb.tsx
@@ -37,7 +37,7 @@ export function SliderThumb(props: SliderThumbProps) {
37
38
const { hoverProps, isHovered } = useHover({ isDisabled });
39
40
- const isCollapsed = state.step === 2 && state.values[0] === state.values[1];
+ const isCollapsed = state.values[0] === state.values[1];
41
const isStuck =
42
state.values[index] === state.getThumbMaxValue(index) &&
43
state.values[index] === state.getThumbMinValue(index);
0 commit comments