Skip to content

Commit 3652165

Browse files
fix(slider): check props to show thumb tooltip (#497)
Co-authored-by: Niklas Ramström <[email protected]>
1 parent 70e692b commit 3652165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/slider/src/use-range-slider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ export const useRangeSlider_unstable = (
504504
value,
505505
valueLabelTransform,
506506
"data-index": index,
507-
open: open === index || active === index,
507+
open: open === index || active === index || props.thumb?.open === true,
508508
active: active === index,
509509
dragging,
510510
handleFocus: createHandleFocus(index),

0 commit comments

Comments
 (0)