Open jzohrab opened 3 months ago
Hey @jzohrab I would like to work on this. Please assign this to me.
Would adding a autofocus attribute to the {form.translation}
field in the term/_form.html
be a good start? It seems to work when I click on any of the terms on the read page.
Hi @Jayanth-Parthsarathy - thanks very much! (Sorry have been travelling and busy) Autofocus should only be set if the language and term are already set:
Makes sense?
Understood, thanks for the clarification :)
@Jayanth-Parthsarathy did this work in #390 but I disabled it -- it has the unfortunate side-effect of pulling focus from the reading pane, which is a hassle when I'm quickly moving from term to term using the cursor keys. Perhaps there's a way to set the focus in the translation field when the form first gets the focus, so that the reading pane keeps the focus.
On open from reading screen, the term is created, most natural thing would be to edit the translation. ref discord