mirror of
https://github.com/google/blockly.git
synced 2026-04-26 23:20:22 +02:00
fix: Fix bug that could cause focus to be lost in Chrome when dismissing a dropdown (#9763)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user