We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3959c9e commit de5c5f8Copy full SHA for de5c5f8
lib/src/widgets/editor/editor.dart
@@ -173,7 +173,9 @@ class QuillEditorState extends State<QuillEditor>
173
void initState() {
174
super.initState();
175
widget.configurations.controller.editorFocusNode ??= widget.focusNode;
176
- widget.configurations.controller.editorFocusNode?.requestFocus();
+ if (configurations.autoFocus) {
177
+ widget.configurations.controller.editorFocusNode?.requestFocus();
178
+ }
179
_editorKey = configurations.editorKey ?? GlobalKey<EditorState>();
180
_selectionGestureDetectorBuilder =
181
_QuillEditorSelectionGestureDetectorBuilder(
0 commit comments