Closed byronigoe closed 4 years ago
I added many log statements to try to determine what was happening, but it's unclear.
In pluginInitialize() the self.webView.frame.size.height initially reports 460 (which does not appear to be true). In _updateFrame() I output the same metric, and I get 768 both before the keyboard is opened and after it is closed.
I'm happy to run more tests if anyone has thoughts about what to try.
This issue is related to the bottom notch on iPhone XS, XS Max, XR. The issue is not present on iPhone 8 and others. Has anyone looked into this?
Can you provide a sample app? I can't reproduce
The problem does not exist on iOS 13 Beta, so I am not going to spend further energy on creating a minimal reproducible example.
See the attached screenshot:
The initial app height (left) has extra padding at the bottom. After the keyboard is closed (right) the new app height is taller.