mirror of
https://github.com/quorafind/Obsidian-Float-Search.git
synced 2026-07-22 07:30:25 +00:00
chore: bump version
This commit is contained in:
parent
5ec918ab3b
commit
d8a7333d2f
1 changed files with 3 additions and 1 deletions
|
|
@ -660,7 +660,9 @@ class FloatSearchModal extends Modal {
|
||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
await this.searchLeaf.view.setState(this.state, {focus: true});
|
await this.searchLeaf.view.setState(this.state, {
|
||||||
|
focus: true,
|
||||||
|
});
|
||||||
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);
|
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);
|
}, 0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue