pull/51/head
li3317 4 years ago
parent e8a3d4c222
commit 4dfa6a476f
  1. 10
      lib/widgets/raw_editor.dart

@ -702,11 +702,11 @@ class RawEditorState extends EditorState
_keyboardVisibilityController = KeyboardVisibilityController();
_keyboardVisibilitySubscription =
_keyboardVisibilityController.onChange.listen((bool visible) {
_keyboardVisible = visible;
if (visible) {
_onChangeTextEditingValue();
}
});
_keyboardVisible = visible;
if (visible) {
_onChangeTextEditingValue();
}
});
_focusAttachment = widget.focusNode.attach(context,
onKey: (node, event) => _keyboardListener.handleRawKeyEvent(event));

Loading…
Cancel
Save