fleather-editor / fleather

Soft and gentle rich text editing for Flutter applications.
https://fleather-editor.github.io
Other
202 stars 36 forks source link

FleatherField cursor does not stay visible when focused #421

Open kane-knowby opened 1 month ago

kane-knowby commented 1 month ago

When the cursor moves outside of the view (or behind the keyboard), the parent scrollable should scroll so that the cursor stays in view, the same way that TextFormField does.

Steps to Reproduce

Environment

amantoux commented 2 weeks ago

@kane-knowby I managed to reproduce The thing here is that the scroll controller of the parent widget should not be controlled by the FleatherField as it depends on the position of FleatherField within the parent viewport. You can try repositioning the parent scroll controller as the field grows.