For some reason, `RawEditorState.initState` is called every time I focus a `TextField` inside a scrollable view which uses the `ScrollController` that is passed to `QuillEditor.scrollController`. And, `RawEditorState.initState` calls `RawEditorState._onChangeTextEditingValue` which make sure that caret is visible on the screen if `ignoreCaret` is not `true`. In this commit I set `ignoreCaret` to opposite of `_hasFocus` so that caret is displayed only when the text field is focused. These changes make it easier to use `QuillEditor` in a list with other text fields.pull/555/head
parent
6ff299118d
commit
5575d226b9
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue