Skip to content

Commit 376bf6b

Browse files
committed
fix: Fix bug that could cause focus to move on Enter when dismissing a bubble.
1 parent 860bf8c commit 376bf6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/enter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class EnterAction {
165165
// opening a bubble of some sort. We then need to wait for the bubble to
166166
// appear before attempting to navigate into it.
167167
curNode.onClick();
168-
if (hasBubble(curNode)) {
168+
if (hasBubble(curNode) && curNode.bubbleIsVisible()) {
169169
renderManagement.finishQueuedRenders().then(() => {
170170
cursor?.in();
171171
});

0 commit comments

Comments
 (0)