I wanted to use a zefyreditor as a text field. I tried to eliminate scrolling as much as possible and also used a ZefyrTheme.
This all worked, however on mobile devices with a virtual keyboard I noticed that when the cursor writes in the last line, the text starts to move up and down (this was noticed on ios and android).
Later I found out that it is due to the height. If you change the height of the DefaultTextStyle, for example, the bug was no longer there, while the scrolling occurred again with smaller values. The more lines you have, the worse the scrolling becomes.
Here is a sample code that causes this bug on mobile devices:
I wanted to use a zefyreditor as a text field. I tried to eliminate scrolling as much as possible and also used a ZefyrTheme. This all worked, however on mobile devices with a virtual keyboard I noticed that when the cursor writes in the last line, the text starts to move up and down (this was noticed on ios and android). Later I found out that it is due to the height. If you change the height of the DefaultTextStyle, for example, the bug was no longer there, while the scrolling occurred again with smaller values. The more lines you have, the worse the scrolling becomes.
Here is a sample code that causes this bug on mobile devices:
Here is a screenshot of the error (similar to the code):
https://github.com/glynskyi/zefyrka/assets/104490184/e6c355f6-ee99-42dd-a348-cb43b97cd2fa