and the problem is when the text reaches the end it goes behind the keyboard instead of scrolling down. Also, when you move cursor, the scrolling doesn't work.
I added this line to the MainActivity
WindowCompat.setDecorFitsSystemWindows(window, false)
and modified manifest by adding
android:windowSoftInputMode="adjustResize"
I tried to add them one by one and replaced by by each other. No effect.
If I add imePadding() to the Modifier of BasicRichTextEditor, it works, but adds huge padding between keyboard and the BasicRichTextEditor.
Any other solution to make it scrollable once cursor reaches end?
This is my implementation of BasicRichTextEditor:
and the problem is when the text reaches the end it goes behind the keyboard instead of scrolling down. Also, when you move cursor, the scrolling doesn't work.
I added this line to the MainActivity
WindowCompat.setDecorFitsSystemWindows(window, false)
and modified manifest by adding
android:windowSoftInputMode="adjustResize"
I tried to add them one by one and replaced by by each other. No effect.
Screen_recording_20241122_102939.webm
Any thoughts? Thanks