最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

rich text editor - RichEditor autoscroll on keyboard open[React Native] - Stack Overflow

programmeradmin2浏览0评论

I'm using react-native-pell-rich-editor inside a scrollable middle section of my page. When the keyboard opens, I want the RichEditor to automatically scroll up so that the typing area stays visible, just above the keyboard.

However, when I use automaticallyAdjustKeyboardInsets, it causes excessive scrolling and hides the typing area. On the other hand, when I use KeyboardAvoidingView, it doesn't scroll automatically, requiring manual scrolling. How can I ensure the RichEditor properly auto-scrolls into view when the keyboard opens?

发布评论

评论列表(0)

  1. 暂无评论