fix for keyboard jumping on switch focus from TextField to QuillEditor

pull/1811/head
Oligazar 1 year ago
parent c3ae165f7b
commit 6784d8d87c
  1. 5
      .gitignore
  2. 1
      lib/src/widgets/raw_editor/raw_editor_state.dart

5
.gitignore vendored

@ -81,4 +81,7 @@ pubspec.lock
pubspec_overrides.yaml
# A directory where you put all of your local things that you don't want to push
.flutter-quill
.flutter-quill
# FVM Version Cache
.fvm/

@ -1429,6 +1429,7 @@ class QuillRawEditorState extends EditorState
void _handleFocusChanged() {
if (dirty) {
requestKeyboard();
SchedulerBinding.instance
.addPostFrameCallback((_) => _handleFocusChanged());
return;

Loading…
Cancel
Save