Skip to content

Commit 0aed8c2

Browse files
committed
fix(slider): check props to show thumb tooltip
1 parent e1a29a2 commit 0aed8c2

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)