1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00

Fix Android editor.insertText regression (#4779)

* * remove scheduling of text updates using setTimeout
* call Transforms.setSelection before Editor.insertText

* changeset

* Restore logic to set isComposing to false
This commit is contained in:
Alessio Galdy
2022-01-11 12:37:05 +01:00
committed by GitHub
parent e3a325f8a6
commit 345b8fc9e8
4 changed files with 11 additions and 74 deletions

View File

@@ -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