Modal <ion-content> box height is incorrect


#1

Modal box height is incorrect. Appears to be equal to the height as if the keyboard was open. You can see the issue when you have vertically scrollable content. The top and bottom bounds are not where they should be.

After opening/closing the keyboard, the box height returns to the height of the window.

NOTE: Issue only appears when an element is present in the modal.


#2

Actually, I had focusFirstInput: true in the initialization settings. I assumed this setting would imply that the keyboard would show? Is this a defect?


#3

Hey there, have you added this to your config.xml?

<preference name="KeyboardDisplayRequiresUserAction" value="false"/>

Ionic is doing some work when an input receives focus, but the keyboard needs to be allowed to show with a person actually touching the input. This will resolve your issue