Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
3.0.0, 3.1.0
-
None
-
None
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?).
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:
window.setInterval( function() { self.browser.executeScript({ "code" : "var x;"}); }, 1000);
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.