wxik / react-native-rich-editor

Lightweight React Native (JavaScript, H5) rich text editor
https://wxik.github.io/react-native-rich-editor/web
MIT License
818 stars 304 forks source link

the scroll issue seems to still persist [Android] #273

Open davidjuhyung opened 2 years ago

davidjuhyung commented 2 years ago

The cursor goes below the keyboard, and it doesn't automatically scroll the wrapper <ScrollView> so as to see the cursor.

I tried copy & paste with the code in examples/example.hooks.js but that issue is still persistent on Android

https://user-images.githubusercontent.com/38872151/191404279-cca7173e-5e66-4d37-9dfa-361f67126a5b.mov

With:

"react-native-pell-rich-editor": "^1.8.8" "react-native-webview": "^11.23.1"

Any pointers would be appreciated!

gagtic commented 2 years ago

Did you try setting your android:windowSoftInputMode="adjustPan" in androidManifest.xml? That might help with the keyboard placement

davidjuhyung commented 2 years ago

@gagtic nope that didn't fix, it was "adjustResize" before which should have done the same effect I suppose, but didn't work either.