Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26307] iOS (webView): text remains hidden behind the keyboard in iPad(landscape mode) when writing into text area within the webview.

GitHub Issuen/a
TypeBug
PriorityNone
StatusResolved
ResolutionNot Our Bug
Resolution Date2018-08-16T07:56:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiPad
Labelsios
ReporterJebun Naher
AssigneeUnknown
Created2018-08-16T07:06:45.000+0000
Updated2018-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

FileDateSize
Not_Working.png2018-08-16T07:55:37.000+0000236788
Working.png2018-08-16T07:52:37.000+0000232923

Comments

  1. Hans Knöchel 2018-08-16

    [~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.

JSON Source