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

Re: FleatherField cursor does not stay visible when focused/keyboard is visible #438

Open
Lomedhi opened this issue Nov 10, 2024 · 0 comments

Comments

@Lomedhi
Copy link

Lomedhi commented Nov 10, 2024

Opening issue for visibility to this issue #421

RE: "Hi. I also want to give you master devs @Amir-P @amantoux some well deserved props because this package is amazing from where you took it and very sufficient for my use case. I also am having the same scrolling to the viewport issue with cursor going below the keyboard.

I did some research into the matter and it seems a similar issue was reported on the original repo project memspace/zefyr#485. flutter/flutter#10826

From the thread, there is some proposed solution with considering the offset with and without the keyboard, but I believe this is for pack singerdmx/flutter-quill#111.

Here is the implemented solution code.

I tried testing and debugging my own implementation (Container,Column, SingleChildScrollView,Scaffold different parent child code, expanded and/or scrollable as true/false, set and not setting maxHeight), but got the same result of a non scrolling past the scroll container but also not scrolling the cursor above the keyboard. I can leave code snippet, but if you wrap FleatherField in a Listview and then wrap listview in a Container is what the code would in essence be with other children in the listview as well."

Steps to Reproduce

  1. Build FleatherEditor/Field widget
  2. Wrap FleatherField in Listview or scrollable widget
  3. Wrap FleatherField in Container or non-scrolable widget

Environment

  • OS [iOS/Web/Android]
  • Flutter version [3.24.2]
  • Fleather version [1.9.0]

Logs

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

No branches or pull requests

1 participant