diff --git a/code/core/src/manager/components/sidebar/Tree.tsx b/code/core/src/manager/components/sidebar/Tree.tsx index 2cb99d61cdc2..c0209b50ca9a 100644 --- a/code/core/src/manager/components/sidebar/Tree.tsx +++ b/code/core/src/manager/components/sidebar/Tree.tsx @@ -210,9 +210,10 @@ const Node = React.memo(function Node({ {icon ? ( event.stopPropagation()} placement="bottom" - tooltip={() => ( + tooltip={({ onHide }) => ( (function Node({ onClick: () => { onSelectStoryId(item.id); value.onClick?.(); + onHide(); }, }))} />