Taitava / obsidian-shellcommands

Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
351 stars 11 forks source link

Alias field is not automatically focused when opening the extra options modal #144

Closed Taitava closed 2 years ago

Taitava commented 2 years ago

I just noticed that when 0.7.0 brought tabs to the extra options modal, the alias field lost its automatic focus. The code for focusing the field is still in place, but doesn't have an effect for some reason.

Taitava commented 2 years ago

Done. I improved it even further: now all the tabs in the modal have a default focused field.

Taitava commented 2 years ago

I also added a test in my test suite to notice if this bug appears again.