How to create interactive keyboard that pushes content up using overlay?

Hi, I’m trying to create an interaction on a screen that allows content to move up or down based on when a keyboard is present.

For example, on a screen, I have a text field that will bring up the keyboard when user taps on the text field. When the keyboard comes up, I’d like all the content on the screen to push up so that the keyboard doesn’t cover up the textfield while the user types. Then when the user is done typing and closes the keyboard, the content will return to its previous position.

Is there a way to achieve this using overlays? Thanks!

3 Likes

did you find out ? Im having the same issue
Thanks

No, i still haven’t figured out how to do this so i have to build it manually.

@Linda_Pham1 I didn’t see a way to do that using an overlay, but below is a rough example of how you could accomplish that using smart animation between frames.

View example prototype
Get the file