Commit 313ef66
committed
Fix 1.7.5 not opening search w/hotkey + focus lock
Older versions of Obsidian focused the search box directly from
the search command, which allowed hotkey-based search to work
with Pane Relief's Focus Lock active. Newer versions now do
the focusing in a way that is subject to Focus Lock, so this
release adds a workaround to emulate the old behavior.
Note: with the exception of taking focus away from popout windows,
Obsidian has fixed most of the problems in its UI that Focus Lock was
intended to prevent, so you may want to try turning off Focus Lock to
see if you still need it. (The one other major use case for it is
keeping the "Automatically reveal active file" plugin from constantly
focusing the file explorer pane.)1 parent 4ce29ad commit 313ef66
3 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments