Skip to content

3 Scroll sometimes and setSelection() some kind of fix#89

Open
MarlonJD wants to merge 2 commits into
the-airbender:mainfrom
MarlonJD:main
Open

3 Scroll sometimes and setSelection() some kind of fix#89
MarlonJD wants to merge 2 commits into
the-airbender:mainfrom
MarlonJD:main

Conversation

@MarlonJD

Copy link
Copy Markdown

When there was no height, setSelection could not works properly. So I added height to

, and I added setTimeout(() => quilleditor.focus(), 1000);after setSelection.

Now you can just give height from main widget, like this

QuillHtmlEditor(
    controller: controller,
    minHeight:
        MediaQuery.of(context).size.height -
            300,
)

Also I tried to make unvisible 3 scroll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant