You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/01/15 01:05:19 UTC
[jira] [Closed] (CB-5449) Android InAppBrowser virtual keyboard
closes on executeScript()
[ https://issues.apache.org/jira/browse/CB-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser closed CB-5449.
--------------------------
Resolution: Won't Fix
There's no way around this. The JS executes on the same thread as the input.
> 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)