Fix for keyboard jumping when switching focus from a TextField (#1810)

pull/1826/head
oligazar 1 year ago committed by GitHub
parent 659ad44165
commit a2a4faf3db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      lib/src/widgets/raw_editor/raw_editor_state.dart

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

Loading…
Cancel
Save