Add keyboard padding to make it work with react-native-keyboard-accessory #2253
Unanswered
alex-alecu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, how can I make the focused field scroll ~60px higher? We are using https://www.npmjs.com/package/react-native-keyboard-accessory and it covers the active field.
I couldn't find a prop for addressing it, but I tried finding at least a solution with a patch: adding an extra 60px here
const keyboardHeightInContainer = animatedKeyboardHeightInContainer.value + 60;
react-native-bottom-sheet/src/components/bottomSheet/BottomSheet.tsx
Lines 448 to 451 in 28819a9
It works on iPhone 15, but it adds a white border for iPad & iPhone SE
Beta Was this translation helpful? Give feedback.
All reactions