Skip to content

feat: add keyboardBottomOffset prop for Android keyboard issues#2734

Open
TeapoyY wants to merge 1 commit intoFaridSafi:masterfrom
TeapoyY:fix/android-keyboard-bottomOffset
Open

feat: add keyboardBottomOffset prop for Android keyboard issues#2734
TeapoyY wants to merge 1 commit intoFaridSafi:masterfrom
TeapoyY:fix/android-keyboard-bottomOffset

Conversation

@TeapoyY
Copy link
Copy Markdown

@TeapoyY TeapoyY commented Apr 3, 2026

Summary

Re-adds the keyboardBottomOffset prop that was previously removed during a keyboard handling refactor. This prop allows users to add extra bottom padding to the KeyboardAvoidingView, which is useful on Android when using expo-router or other navigation setups where the keyboard may still cover the input toolbar.

Changes

src/GiftedChat/types.ts

  • Added keyboardBottomOffset?: number prop with JSDoc documentation explaining its purpose for Android/expo-router scenarios

src/GiftedChat/index.tsx

  • Destructure keyboardBottomOffset prop with default value of

Re-add keyboardBottomOffset prop that was removed during keyboard handling refactor.
Useful on Android when using expo-router or other navigation setups where
the keyboard may still cover the input toolbar even with correct keyboardVerticalOffset.

Fixes FaridSafi#2469
@Asrar-Evince
Copy link
Copy Markdown

perfect, which i was facing yesterday, thank. can we merge it asap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants