By double-clicking on the text, we have created a mechanism to change the text to an input tag and make it editable.
(I can't see it because I've omitted a lot of code, but when I change the contents of input, the action of the store is ignited and the corresponding character of state is changed.)
Therefore, I would like to automatically focus on the input tag displayed when I double-click the text.
What should I do?
--- Multi-Post Reporting ---
I heard that stack overflow is not prohibited from multiposting, so I heard it from the English version of stack overflow.
Thank you for your cooperation.
You told me here.
It didn't seem to work unless the nextTick was an Arrow function...
© 2022 OneMinuteCode. All rights reserved.