fix(editor): disable popover when start with space (#11092)

This commit is contained in:
Flrande
2025-03-24 03:53:16 +00:00
parent b0871331de
commit 29fdbb7105
2 changed files with 18 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ export class LinkedDocPopover extends SignalWatcher(
}
this._updateLinkedDocGroupAbortController = new AbortController();
if (query === null) {
if (query === null || query.startsWith(' ')) {
this.context.close();
return;
}