Skip to content
This repository has been 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

Open
simonxcheng opened this issue Jan 12, 2021 · 0 comments

Comments

@simonxcheng
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant