forked from ianstormtaylor/slate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Android editor.insertText regression (ianstormtaylor#4779)
* * remove scheduling of text updates using setTimeout * call Transforms.setSelection before Editor.insertText * changeset * Restore logic to set isComposing to false
- Loading branch information
1 parent
e3a325f
commit 345b8fc
Showing
4 changed files
with
11 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'slate-react': patch | ||
--- | ||
|
||
Android editable updates | ||
|
||
- Remove logic to delay handling of text insertion | ||
- Call Transforms.setSelection before Editor.insertText to adjust position |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters