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