When react renders the component it loses caret position (due to an update I guess) and the caret is rendered at the end of the mathfield, probably due to internal mathlive update logic.
The question is what logic and how to handle it accordingly.
I think it's important to solve this, e.g. Editing a mathfield while it updates some option will throw the caret to the end, making editing quite unstable.
When react renders the component it loses caret position (due to an update I guess) and the caret is rendered at the end of the
mathfield
, probably due to internal mathlive update logic. The question is what logic and how to handle it accordingly. I think it's important to solve this, e.g. Editing amathfield
while it updates some option will throw the caret to the end, making editing quite unstable.