chore: bump version

This commit is contained in:
Quorafind 2023-09-12 15:32:07 +08:00
parent d8a7333d2f
commit 5be4acd2a5

View file

@ -662,7 +662,7 @@ class FloatSearchModal extends Modal {
setTimeout(async () => {
await this.searchLeaf.view.setState(this.state, {
focus: true,
});
} as ViewStateResult);
this.state?.current ? (this.searchLeaf.view as SearchView).searchComponent.inputEl.setSelectionRange(0, 0) : (this.searchLeaf.view as SearchView).searchComponent.inputEl.setSelectionRange(0, this.state?.query?.length);
}, 0);