File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -82,14 +82,8 @@ const Tooltip = ({
8282 handleShow ( false )
8383 }
8484
85- if ( show && tooltipShowDelayTimerRef . current ) {
85+ if ( tooltipShowDelayTimerRef . current ) {
8686 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 )
9387 }
9488 }
9589
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ const TooltipController = ({
9393 const parsedEvents = value . split ( ' ' )
9494 setTooltipEvents ( parsedEvents as EventsType [ ] )
9595 } ,
96- positionStrategy : ( value : PositionStrategy ) => {
96+ 'position-strategy' : ( value : PositionStrategy ) => {
9797 setTooltipPositionStrategy ( value )
9898 } ,
9999 'delay-show' : ( value : number ) => {
You can’t perform that action at this time.
0 commit comments