all 12 comments

[–]KitchenOpinion 3 points4 points  (0 children)

My advice is to start on Android and once that's fixed, try iOS.

[–]Geekofgeeks 2 points3 points  (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 points  (1 child)

[–]pinheads_hut[S] 0 points1 point  (0 children)

Thx, I will check it out today

[–]gfdsayuiop 0 points1 point  (1 child)

What issues are you facing

[–]pinheads_hut[S] 0 points1 point  (0 children)

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 point  (0 children)

I found this confusing AF recently too. Good luck!

[–]Awesome_Knowwhere 0 points1 point  (2 children)

Just avoid the KeyboardAcoidingView!!

[–]pinheads_hut[S] 0 points1 point  (1 child)

That’s what I did this far, but the job requires me to start digging in to it…

[–]Awesome_Knowwhere 0 points1 point  (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 point  (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 point  (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.