Update _keyboardVisibilityController.onChange.listen

pull/41/head^2
Xin Yao 4 years ago
parent 33ce59ae4f
commit 06000734e6
  1. 6
      lib/widgets/raw_editor.dart

@ -699,10 +699,10 @@ class RawEditorState extends EditorState
_keyboardVisibilityController.onChange.listen((bool visible) {
setState(() {
_keyboardVisible = visible;
if (visible) {
_onChangeTextEditingValue();
}
});
if (visible) {
_onChangeTextEditingValue();
}
});
_focusAttachment = widget.focusNode.attach(context,

Loading…
Cancel
Save