0

In my react native app, I have a header with a search option and a body with content which is a flatlist and a footer. The flatlist is shrinking when the keyboard is active and my footer is showing above the keyboard.

I don't want to shrink flatlist while the keyboard is active or don't want to show the footer while the keyboard is active. how I can achieve that?

Obsidian
  • 3,719
  • 8
  • 17
  • 30
Rashid Rcp
  • 11
  • 2

1 Answers1

0

You can use KeyboardAvoidingView from react-native. Please check your android manifest it should have

android:windowSoftInputMode="adjustPan"

something like this(please check this)

Shubham
  • 468
  • 5
  • 14