Ion-content height on keyboard-open IOS

Hi everyone!

I have a problem with IOS version of my app

I have block which is hide on keyboard open, but this block is outside of content

So when keyboard open ios change height of content, but it ignore height of my hidden block, and as result the new content height is wrong

Is someone has a resolution of this problem?

Hi @tatiLi, the keyboard-open add height for ion-content, which cause block hidden even after the keyboard close. One way to solve this problem is to set content height with important mark.

ion-content { height: auto !important; }

Hi @tatiLi , I just found my pre comment cause some issue when keyboard opened, I won’t trigger the focused input scroll. I hope haven’t cause you any trouble.