Skip to content

ios app crashing on keyboard deactivate and changing stage focus #2

@JonnyCodes

Description

@JonnyCodes

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:

  1. Make an input text field.
  2. Add an eventListener to the KeybaordDeactivate event.
  3. Set stage.focus to null in keyboardDeactivate function.
  4. Compile for ios.
  5. Click on the input text field and press enter to close the keyboard
  6. App crashes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions