You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues that are closed.
OtherIssues
None
Description
In the Settings menu every time you type a character in the Template File text input, the input box loses focus, only allowing the user to type one character at a time.
Reproduction steps
Go to the Luhman Settings inside of the Obsidian Settings. Add or remove a character in the text input for Template File.
Expected Result
I expect that I could keep typing until I type the full path to the template file.
Actual Result
I type one character, the input box loses focus, and I have to click back on the text input in order to type again.
Version
1.2.0 (Current Version)
Relevent log output
No response
Screenshots
No response
Other Notes
I am a developer. The reason this happens is because this.display() is called on ever onChange event of the text input, effectively removing the focus of the text input.
I have a fix worked out. I want to contribute. Is there a protocol for a PR to this repo?
The text was updated successfully, but these errors were encountered:
@agctute The problem with not calling this.display() in your version, means the config screen won't update (hide/show options dependent on the on the contents of this input field). That's why I did the more involved solution.
Every time a character is input into the text box, the box behaves as if Esc is pressed immediately after. You have to click on the text box again in order to input the next character, in which case the problem repeats.
Issue Searching
OtherIssues
None
Description
In the Settings menu every time you type a character in the Template File text input, the input box loses focus, only allowing the user to type one character at a time.
Reproduction steps
Go to the Luhman Settings inside of the Obsidian Settings. Add or remove a character in the text input for Template File.
Expected Result
I expect that I could keep typing until I type the full path to the template file.
Actual Result
I type one character, the input box loses focus, and I have to click back on the text input in order to type again.
Version
1.2.0 (Current Version)
Relevent log output
No response
Screenshots
No response
Other Notes
I am a developer. The reason this happens is because
this.display()
is called on everonChange
event of the text input, effectively removing the focus of the text input.I have a fix worked out. I want to contribute. Is there a protocol for a PR to this repo?
The text was updated successfully, but these errors were encountered: