Skip to content

Issues when rotating device while keyboard is showing up #38

Description

@hansolowireless

How to reproduce:

Set a container view with a textfield inside, and a bottom constraint from the container to the bottom layout guide in a View Controller. Set the container view as the avoiding view.

Click on the textfield on an iPad while in landscape. The keyboard comes up. While the keyboard is showing up turn the iPad to portrait.

While in portrait dismiss the keyboard. The view goes down way further than it should, seems like the device thinks it is still in landscape mode, and tries to lower the view the same distance as if it were in landscape (which is greater than in portrait due to less available height).

If you repeat this process several times, (i.e. put in landscape, invoke the keyboard, turn to portrait), the view keeps going lower and lower.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions