App crashes when I press enter on the keyboard and in the deactivate event I set the stage focus to null on ios. If I put a timer on setting the stage.focus is doesn't crash.
Steps to recreate:
- Make an input text field.
- Add an eventListener to the KeybaordDeactivate event.
- Set stage.focus to null in keyboardDeactivate function.
- Compile for ios.
- Click on the input text field and press enter to close the keyboard
- App crashes