-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't workingneeds repro linkNo reproduction link providedNo reproduction link provided
Description
Environment
Library version: 7.0.2
OS version: Android 15
Affected platforms
- Android
- iOS
Current behavior
On Android 15, the auto-scroll overshoots when focusing on an input field. Based on my research, this issue is related to the new Edge-to-Edge UI enforcement introduced in Android 15.
Android 14 and older works find.
Expected behavior
On Android 15, the auto-scroll works same as Android 14 without over-scrolling.
As a temporary workaround, I’m currently doing:
import { useSafeAreaInsets } from 'react-native-safe-area-context';
...
const insets = useSafeAreaInsets();
return (
<AvoidSoftInputView
style={styles.container}
avoidOffset={isAndroid15Plus && -insets.top}
>
...
</AvoidSoftInputView>
)
this fixes the problem but needs a permanent fix for this
Also I have added react-native-edge-to-edge, but that also didn't fix this.
Attachment.mov
Reproduction
None
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds repro linkNo reproduction link providedNo reproduction link provided