Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

handleLayout need to check height change, otherwise it is not working properly on iPad rotation  #162

@simonxcheng

Description

@simonxcheng

Hi, the handleLayout function needs to check height change, otherwise it is not working on iPad rotation. Please add following change to that function:

if (event.nativeEvent.layout.width !== this.width || event.nativeEvent.layout.height !== this.height) {
....
}

Thanks,
SXC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions