fix: Fix bug that could cause focus to be lost in Chrome when dismissing a dropdown (#9763)

This commit is contained in:
Aaron Dodson
2026-04-24 09:26:53 -07:00
committed by GitHub
parent 8879f63fb3
commit 3a14fcc6d3
+2 -1
View File
@@ -712,7 +712,6 @@ export function hideWithoutAnimation() {
onHide();
onHide = null;
}
clearContent();
owner = null;
(common.getMainWorkspace() as WorkspaceSvg).markFocused();
@@ -721,6 +720,8 @@ export function hideWithoutAnimation() {
returnEphemeralFocus();
returnEphemeralFocus = null;
}
clearContent();
}
/**