[TIMOB-26307] iOS (webView): text remains hidden behind the keyboard in iPad(landscape mode) when writing into text area within the webview.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2018-08-16T07:56:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iPad |
Labels | ios |
Reporter | Jebun Naher |
Assignee | Unknown |
Created | 2018-08-16T07:06:45.000+0000 |
Updated | 2018-08-16T18:05:07.000+0000 |
Description
*Issue description:*
I am opening the following URL in the webView. When I write into text area within the webView, the writing goes back under the keyboard.
https://lite.educode.ca/nativeexercise/59ef7ee6dfae4e3ea58b4d36/91ae5c31-254a-433b-a736-0a002b998829
This happens on iPad in landscape mode, doesn't happen in portrait mode.
*Steps to reproduce:*
1. Run the test code, webview will show the webpage.
2. Set the orientation to landscape.
3. In the editor area you can keep pressing enter and go on line 31 or more and write any text there you will find text going under the keyboard
*Test code:*
var win1 = Titanium.UI.createWindow({
});
var webview = Titanium.UI.createWebView({
url: 'https://lite.educode.ca/nativeexercise/59ef7ee6dfae4e3ea58b4d36/91ae5c31-254a-433b-a736-0a002b998829',
});
win1.add(webview);
win1.open();
Attachments
File | Date | Size |
---|---|---|
Not_Working.png | 2018-08-16T07:55:37.000+0000 | 236788 |
Working.png | 2018-08-16T07:52:37.000+0000 | 232923 |
[~jnaher] I assume you were able to reproduce it? Because I was not. In any case, we do not do anything special with the web-view, so this might be the native iOS behavior. *EDIT*: I was able to reproduce it when typing until line ~ 30 and it disappears. But that only happens because the web-layout does not adapt to the keyboard height, which should be fixed in their web-version, not the native app.