diff --git a/lib/src/quill_editor_wrapper.dart b/lib/src/quill_editor_wrapper.dart index a65781fad..eea851555 100644 --- a/lib/src/quill_editor_wrapper.dart +++ b/lib/src/quill_editor_wrapper.dart @@ -495,7 +495,6 @@ class QuillHtmlEditorState extends State { } #scrolling-container { min-height: ${widget.minHeight}px !important; - overflow-y: scroll !important; -webkit-user-select: text !important; } @@ -520,8 +519,8 @@ class QuillHtmlEditorState extends State {
-
-
+
+
@@ -685,7 +684,6 @@ class QuillHtmlEditorState extends State { } }, theme: 'snow', - scrollingContainer: '#scrolling-container', placeholder: '${widget.hintText ?? "Description"}', clipboard: { matchVisual: true @@ -851,7 +849,8 @@ class QuillHtmlEditorState extends State { } function setSelection(index, length) { - setTimeout(() => quilleditor.setSelection(index, length), 1); + setTimeout(() => quilleditor.setSelection(index, length), 10); + setTimeout(() => quilleditor.focus(), 1000); return ''; }