diff --git a/apps/roam/src/components/DiscourseNodeMenu.tsx b/apps/roam/src/components/DiscourseNodeMenu.tsx index 53375fee3..d8140cc9f 100644 --- a/apps/roam/src/components/DiscourseNodeMenu.tsx +++ b/apps/roam/src/components/DiscourseNodeMenu.tsx @@ -111,8 +111,12 @@ const NodeMenu = ({ menuRef.current?.getAttribute("data-active-index"), ); onSelect(index); + // Remove focus from the block to ensure updateBlock works properly + document.body.click(); } else if (shortcuts.has(e.key.toUpperCase())) { onSelect(indexBySC[e.key.toUpperCase()]); + // Remove focus from the block to ensure updateBlock works properly + document.body.click(); } else { return; }