Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FleatherField cursor does not stay visible when focused #421

Open
kane-knowby opened this issue Sep 4, 2024 · 1 comment
Open

FleatherField cursor does not stay visible when focused #421

kane-knowby opened this issue Sep 4, 2024 · 1 comment
Labels
bug Something isn't working waiting for user feedback

Comments

@kane-knowby
Copy link

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

  • Add a FleatherField to a ListView, with plenty of empty space above and below the field to scroll.
  • Type in the FleatherField until the cursor disappears beneath the keyboard

Environment

  • OS: iOS/Web/Android
  • Flutter version: 3.24
  • Fleather version: 1.18.0
@Amir-P Amir-P added the bug Something isn't working label Sep 4, 2024
@amantoux
Copy link
Member

amantoux commented Sep 24, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for user feedback
Projects
None yet
Development

No branches or pull requests

3 participants