Skip to content
Snippets Groups Projects
Unverified Commit 43e09e64 authored by Romeo Van Snick's avatar Romeo Van Snick Committed by GitHub
Browse files

Do not insert newlines when typing text in the native editor. (#45129)

* Move focus to separate helper

* Use focus method to do initial focus

* Use focus method for other _editor.focus calls

* Move focus to componentDidMount

* Cancel focus timeout  on unmount

* Add delay to broken test

* Switch to requestAnimationFrame

* Remove wait in test
parent 2d7891b8
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment