I'm stuck with this for several days, I've gone through React.js - input losing focus when rerendering which lists several suggestions and solutions to losing focus on first keystroke - but I still haven't managed to solve it. I'm panic-stricken at this point so probably missed the obvious solution.
- "Other" TextEditor always loses focus after first key stroke
- "Resources" TextEditors loses focus if there are more than 1 resources. So, something must be right for it to keep focus with just one TextEditor...
Here's a codesandbox showing the focus loss: https://codesandbox.io/s/fervent-tereshkova-bz1wz?file=/agenda.js