Open GoTrust-BaoNH opened 3 years ago
Hi 👋🏽 Thank you for opening your first issue with simpleclub/math_keyboard ❤
You can expect triage from us soon 🙂 In the meantime, you can try to search for similar issues in our issue database.
Hi @GoTrust-BaoNH, thanks for using the package and opening the issue!
This is right now a known limitation, where we do not yet calculate if the cursor reaches the start of the visible area.
The idea right now is that you scroll manually. Can you try to scroll the math field manually (swipe with finger or with trackpad)? And do you think that works for you?
Hi @GoTrust-BaoNH, thanks for using the package and opening the issue!
This is right now a known limitation, where we do not yet calculate if the cursor reaches the start of the visible area. The idea right now is that you scroll manually. Can you try to scroll the math field manually (swipe with finger or with trackpad)? And do you think that works for you?
It works with scroll the math field manually. But I want use PreviousButton
. Can you suggest me a way to fix it?
@GoTrust-BaoNH I think the only way to achieve it is by contributing here.
The way it would work is finding the render box that draws the cursor and ensuring that is visible in the scroll view using: RenderObject.showOnScreen
I think to handle it nicely, we need to adjust flutter_math
, but it should be possible to do it without that.
Bug description
I can't goBack() cursor back to starting position
To Reproduce
Steps to reproduce the behavior:
MathField
PreviousButton
that move cursor to start position