Fix _didChangeTextEditingValue for web

pull/71/head
Xin Yao 4 years ago
parent 766058b473
commit 5446a73b86
  1. 8
      lib/widgets/raw_editor.dart

@ -886,7 +886,13 @@ class RawEditorState extends EditorState
}
_didChangeTextEditingValue() {
if (_keyboardVisible || kIsWeb) {
if (kIsWeb) {
_onChangeTextEditingValue();
requestKeyboard();
return;
}
if (_keyboardVisible) {
_onChangeTextEditingValue();
} else {
requestKeyboard();

Loading…
Cancel
Save