[
https://issues.apache.org/jira/browse/CB-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincas Dargis updated CB-5449:
------------------------------
Description:
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?).
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.
was:
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?).
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).
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.
> 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?).
> 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#6144)