`getRenderEditor()!.selectWordEdge` and `getRenderEditor().selectPosition` currently throw a `'No child'` which prevents the field from focusing. This happens when `minHeight` is set and the whole field is not filled with content from the editor (e. g. it's empty or only one line has some data). This change catches the `'No child'` exception and lets the code to continue its execution and request field focus.pull/531/head
parent
a0f3830ad5
commit
aed4311579
1 changed files with 10 additions and 4 deletions
Loading…
Reference in new issue