react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Scroll not working on Android 15 and above

Open vidGoel opened this issue 5 months ago • 2 comments

Current behaviour

When the input is focused, the keyboard opens but the view remains fixed and does not scroll.

Expected behaviour

When focusing on the input, the view should scroll automatically.

Repo Snack

https://snack.expo.dev/@vid_goel/textinput-with-keyboardawarescrollview

Preview

https://github.com/user-attachments/assets/cecdf2fd-7e7a-4dca-a139-16e45ece97d6

###Additional details

This issue occurs on Android 15 and above.

Your Environment

software version
ios x
android x
react-native 0.79.6
react-native-paper 5.14.5
node 22.17.0
npm or yarn 10.9.2
expo sdk x.x.x
react-native-keyboard-aware-scroll-view 0.9.5

vidGoel avatar Nov 11 '25 08:11 vidGoel

try this

<KeyboardAwareScrollView
   enableOnAndroid={true}
   keyboardShouldPersistTaps="always"
   contentContainerStyle={{ paddingBottom: 120 }}
   style={{ flex: 1 }}
     overScrollMode="never"
     showsVerticalScrollIndicator={false}
>

mensonones avatar Nov 23 '25 14:11 mensonones

@mensonones enableOnAndroid takes a lot of space at the bottom on Android 14 and below, even without adding contentContainerStyle={{ paddingBottom: 120 }}.

vidGoel avatar Nov 24 '25 04:11 vidGoel