File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
core/src/utils/input-shims/hacks Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,14 @@ export const enableScrollAssist = (
115
115
* webview is fullsize) then it's possible that the webview has resized.
116
116
* In that case we add the keyboard height to get the real platform height (the
117
117
* height when the keyboard is closed).
118
+ *
119
+ * Note: If the device rotates while the keyboard is open,
120
+ * this callback should fire again. However, the initialPlatformHeight
121
+ * will be wrong, and the input may scroll more than it needs to (though it
122
+ * will always remain in view).
123
+ * In order to address this, we need to be able to determine the platform
124
+ * height without the keyboard which we are unable to do because we don't
125
+ * know if the webview has resized yet.
118
126
*/
119
127
if (
120
128
keyboardResize !== undefined &&
You can’t perform that action at this time.
0 commit comments