File tree 2 files changed +2
-8
lines changed 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -82,14 +82,8 @@ const Tooltip = ({
82
82
handleShow ( false )
83
83
}
84
84
85
- if ( show && tooltipShowDelayTimerRef . current ) {
85
+ if ( tooltipShowDelayTimerRef . current ) {
86
86
clearTimeout ( tooltipShowDelayTimerRef . current )
87
- } else if ( ! show && tooltipShowDelayTimerRef . current ) {
88
- // workaround to prevent tooltip being show forever
89
- // when we remove the mouse before show tooltip with `delayShow`
90
- tooltipHideDelayTimerRef . current = setTimeout ( ( ) => {
91
- handleShow ( false )
92
- } , delayShow * 2 )
93
87
}
94
88
}
95
89
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ const TooltipController = ({
93
93
const parsedEvents = value . split ( ' ' )
94
94
setTooltipEvents ( parsedEvents as EventsType [ ] )
95
95
} ,
96
- positionStrategy : ( value : PositionStrategy ) => {
96
+ 'position-strategy' : ( value : PositionStrategy ) => {
97
97
setTooltipPositionStrategy ( value )
98
98
} ,
99
99
'delay-show' : ( value : number ) => {
You can’t perform that action at this time.
0 commit comments