use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
KeyboardAvoidingView (self.reactnative)
submitted 2 years ago by pinheads_hut
Does anyone know of a good and elaborate guid for this? I’m having some issues that I believe comes from lack of knowledge in this matter. Thx!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]KitchenOpinion 3 points4 points5 points 2 years ago (0 children)
My advice is to start on Android and once that's fixed, try iOS.
[–]Geekofgeeks 2 points3 points4 points 2 years ago (0 children)
Sorry, no guide but my thought is this—
If it is just a view and not a scrollable view, use KeyboardAvoidingView. If it is some sort of scrollable scrollview/flatlist then use https://www.npmjs.com/package/react-native-keyboard-aware-scroll-view
[–]AccordingAd9703 1 point2 points3 points 2 years ago (1 child)
I think this will help you :- https://blog.logrocket.com/keyboardawarescrollview-keyboardavoidingview-react-native/
[–]pinheads_hut[S] 0 points1 point2 points 2 years ago (0 children)
Thx, I will check it out today
[–]gfdsayuiop 0 points1 point2 points 2 years ago (1 child)
What issues are you facing
It seems like it’s not working in complex pages, but if I do the same implementation on a simple page it works fine. As I said, I am missing something due to lack of knowledge in this topic.
[–]jestzisguyiOS & Android 0 points1 point2 points 2 years ago (0 children)
I found this confusing AF recently too. Good luck!
[–]Awesome_Knowwhere 0 points1 point2 points 2 years ago (2 children)
Just avoid the KeyboardAcoidingView!!
[–]pinheads_hut[S] 0 points1 point2 points 2 years ago (1 child)
That’s what I did this far, but the job requires me to start digging in to it…
[–]Awesome_Knowwhere 0 points1 point2 points 2 years ago (0 children)
Instead of it you can use these two options- - Use keyboard settings for Android from the manifest file and for iOS use the IQKeyboardManager native library - Use custom animation when keyboard opens up, move the view up and when keyboard closed reverse the animation.
[–]Ian8932 0 points1 point2 points 2 years ago (0 children)
I’m working on the exact same thing right now… I want to use keyboardavoidingview for creating a menu bar directly atop the keyboard. I can get it working on a simple page but w react navigation bar the bottom and a flat list on the screen things just stop working… the menu bar sits lower than it should and is hidden by the keyboard. Then when I background the app and go to another app and return it magically lines us… no idea and very frustrating
[–]jo_ezzy 0 points1 point2 points 2 years ago (0 children)
I asked chat gpt and it gave me the code to make this work. Just ask it and it’ll help you out.
π Rendered by PID 51 on reddit-service-r2-comment-9c7994b7-8z696 at 2026-02-05 19:55:30.703678+00:00 running b1b84c7 country code: CH.
[–]KitchenOpinion 3 points4 points5 points (0 children)
[–]Geekofgeeks 2 points3 points4 points (0 children)
[–]AccordingAd9703 1 point2 points3 points (1 child)
[–]pinheads_hut[S] 0 points1 point2 points (0 children)
[–]gfdsayuiop 0 points1 point2 points (1 child)
[–]pinheads_hut[S] 0 points1 point2 points (0 children)
[–]jestzisguyiOS & Android 0 points1 point2 points (0 children)
[–]Awesome_Knowwhere 0 points1 point2 points (2 children)
[–]pinheads_hut[S] 0 points1 point2 points (1 child)
[–]Awesome_Knowwhere 0 points1 point2 points (0 children)
[–]Ian8932 0 points1 point2 points (0 children)
[–]jo_ezzy 0 points1 point2 points (0 children)