mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(editor): disable popover when start with space (#11092)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user