You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the <Portal /> view shrinks when the keyboard comes up - it isn't the full height of the screen, it's only what's visible. The opposite is the case for iOS.
Is this expected behavior?
The text was updated successfully, but these errors were encountered:
On iOS I'm seeing a weird interaction where if the keyboard is shown & then a Portal is unmounted, the screen doesn't update & leaves a gap. On inspection, it shows that it is the screen & no portal UI is there.
@gregbrinker android has it's own default "keyboard avoiding view", if you have android:windowSoftInputMode="adjustResize" in your android manifest. This is why guides often suggest you use a KeyboardAvoidingView with the behaviour prop conditionally set on iOS and left undefined (aka disabled) on android. This causes a whole host of inconsistencies, such as the portal shrinking when the keyboard comes up but only on android. My advice, remove this from your manifest.
Interestingly this native behaviour also seems to be removed if you show your app fully top-to-bottom aka underneath the navbar by doing NavigationBar.setPositionAsync("absolute").
It seems like the
<Portal />
view shrinks when the keyboard comes up - it isn't the full height of the screen, it's only what's visible. The opposite is the case for iOS.Is this expected behavior?
The text was updated successfully, but these errors were encountered: