File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change
1
+ # [ 6.1.8]
2
+ * Recalculate focus when showing keyboard.
3
+
1
4
# [ 6.1.7]
2
5
* Add czech localizations.
3
6
Original file line number Diff line number Diff line change @@ -1073,8 +1073,14 @@ class RawEditorState extends EditorState
1073
1073
return ;
1074
1074
}
1075
1075
if (_hasFocus) {
1076
+ final keyboardAlreadyShown = _keyboardVisible;
1076
1077
openConnectionIfNeeded ();
1077
- _showCaretOnScreen ();
1078
+ if (keyboardAlreadyShown) {
1079
+ _showCaretOnScreen ();
1080
+ } else {
1081
+ /// delay 500 milliseconds for waiting keyboard show up
1082
+ Future .delayed (const Duration (milliseconds: 500 ), _showCaretOnScreen);
1083
+ }
1078
1084
} else {
1079
1085
widget.focusNode.requestFocus ();
1080
1086
}
Original file line number Diff line number Diff line change 1
1
name : flutter_quill
2
2
description : A rich text editor supporting mobile and web (Demo App @ bulletjournal.us)
3
- version : 6.1.7
3
+ version : 6.1.8
4
4
# author: bulletjournal
5
5
homepage : https://bulletjournal.us/home/index.html
6
6
repository : https://github.com/singerdmx/flutter-quill
You can’t perform that action at this time.
0 commit comments