File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/components/content/ItemBase Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ const ItemBase = <T extends HTMLElement = HTMLDivElement>(
515515 if ( isAutoTooltipEnabled ) {
516516 checkLabelOverflow ( ) ;
517517 }
518- } , [ children , isAutoTooltipEnabled ] ) ;
518+ } , [ children , isAutoTooltipEnabled , checkLabelOverflow ] ) ;
519519
520520 useEffect ( ( ) => {
521521 if ( ! isAutoTooltipEnabled ) return ;
@@ -527,7 +527,7 @@ const ItemBase = <T extends HTMLElement = HTMLDivElement>(
527527 resizeObserver . observe ( label ) ;
528528
529529 return ( ) => resizeObserver . disconnect ( ) ;
530- } , [ mergedLabelRef . current , isAutoTooltipEnabled ] ) ;
530+ } , [ mergedLabelRef . current , isAutoTooltipEnabled , checkLabelOverflow ] ) ;
531531
532532 const finalLabelProps = useMemo ( ( ) => {
533533 return {
You can’t perform that action at this time.
0 commit comments