Do not show caret on screen when the editor is not focused (#555)

pull/573/head
Arshak Aghakaryan 3 years ago committed by GitHub
parent 6ff299118d
commit 736de5ef18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/src/widgets/raw_editor.dart

@ -422,7 +422,7 @@ class RawEditorState extends EditorState
_keyboardVisibilityController?.onChange.listen((visible) {
_keyboardVisible = visible;
if (visible) {
_onChangeTextEditingValue();
_onChangeTextEditingValue(!_hasFocus);
}
});
}

Loading…
Cancel
Save