cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5449) Android InAppBrowser virtual keyboard closes on executeScript()
Date Wed, 15 Jan 2014 01:59:26 GMT

    [ https://issues.apache.org/jira/browse/CB-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13871526#comment-13871526
] 

Andrew Grieve commented on CB-5449:
-----------------------------------

Also note that this *is* (just the other day) fixed on KitKat due to the new evaluateJavascript()
API.

> Android InAppBrowser virtual keyboard closes on executeScript()
> ---------------------------------------------------------------
>
>                 Key: CB-5449
>                 URL: https://issues.apache.org/jira/browse/CB-5449
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin InAppBrowser
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Vincas Dargis
>            Priority: Minor
>
> I am using timer to execute JavaScript inside InAppBrowser so I can show some kind "widget"
at the same time when browser is open (since there are no way to make browser window not full
screen, I have to do this.. hack?).
> I am using setInterval() to update this "widget" regularly.
> In fact there is no difference what that scripts does, it's enough to do (almost) no-op
like this:
> {code}
> window.setInterval( function() {				
> 	self.browser.executeScript({ "code" : "var x;"});
> }, 1000);
> {code}
> How to reproduce:
> * Open InAppBrowser with http://www.google.com.
> * Click on search text input box to start typing.
> * Virtual keybord shows up, but closes just after a moment when next executeScript()
is invoked (depending on given interval). And this repeats on every executeScript() later.
> I've tried building with Android Api 8, 10, 18... it's all the same.
> Same on emulator and on real tablet.
> Discovered on 3.0.1, but the same behaviour with 3.1.0.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message