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
By default, the view sticks to the bottom of the screen. I'd like it to only appear when the keyboard comes up, how do I accomplish this? I thought setting originalHeight={0} might do it, but it seems not.
The text was updated successfully, but these errors were encountered:
I can hide/show it with keyboard listeners, but there's a noticeable lag. I could also animate it's height with a keyboard listener, but that seems like overkill.
originalHeight is an internal property in the native code, it's not exposed to the JS side, and even if it was - it's not related in any way to what you're trying to achieve.
Although I agree that animating the height when the keyboard opens is probably an overkill, (especially since this library tracks the keyboard changes on the native side as well), i'm not sure that currently there's another way to do it.
By default, the view sticks to the bottom of the screen. I'd like it to only appear when the keyboard comes up, how do I accomplish this? I thought setting
originalHeight={0}
might do it, but it seems not.The text was updated successfully, but these errors were encountered: