-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extra bottom space #463
Comments
Your Android issue might be related with your The iOS extra value seems to be the bottom SafeAreaInset. Not sure why, tho. (It seems the same height value os the pink bottom area). |
Is this issue still being tracked? As I encounter the same issue. |
i am telling with sadness, yes |
Having the same issue on iOS. |
This may be a safe area inset issue on iOS. You may be able to get the bottom safe area from a library like react-native-static-safe-area-insets and set the |
At the moment disabling android insert will solve this problem |
try <KeyboardAwareScrollView occurs only on ios |
@galbenyosef This looks great. If you want to avoid using a hook (no need for a hook in this case, it's just a static value), you can use react-native-static-safe-area-insets to grab the bottom inset. |
@devinjameson 's solution worked perfectly. thanks a lot ! |
On Android try to set extraHeight to 0(According to the docs Default is 75) |
@devinjameson's solution worked perfectly fine for me, thanks a lot. I just modified it a bit to correspond to how I want it to look --> extraScrollHeight={-(insets.bottom)*2.3} |
Adding to the solution provided previously, I use extraScrollHeight={-(keyboardHeight + bottomTabBarHeight)} |
this working for me.... thanks |
You need to set these properties to remove extra spacing. <KeyboardAwareScrollView |
I've tried all aboved mentioned solutions but no one is worked.
|
Reproduce
Problem
when we focused a text input and scroll to bottom, an extra space is added at the bottom. besides that, android and ios behaves different.
Questions
why does this happen?
how to avoid from this behave?
and thank you
Code That I Used*
The text was updated successfully, but these errors were encountered: