Extra space in KeyboardAccessoryView for iPhone 12 Pro
dhythm opened this issue · 1 comments
dhythm commented
Hello,
I found strange behavior in iPhone 12 Pro.
It would be good for iPhone 8 (Touch ID model) but not work well for Face ID model.
I use KeyboardAccessoryNavigation
and pass avoidKeyboard
and inSafeAreaView
as props.
Then, accessoryHeight
in KeyboardAccessoryView
will be 45 for both devices.
When I put an offset -30to
visibleHeight` like
const visibleHeight = accessoryHeight + (avoidKeyboard ? keyboardHeight : 0) - 30;
, then it looks good for both iPhone 12 and iPhone 8.
Is there any solution that I don't need to fix the lib? 🙏
Arun-paramasivam commented
A possible solution for this issue is addressed here. Please check it.
#47 (comment)