Problem Description
Customer wants to have a webview as part of the UI in a tablet. That webview will be showing interactive stuff, so you can actually interact with it. That webview is being added on top of a view with attached events.
Expected Results
Being able to interact with the webview, even if the parent view has related events. This is, If I'm clicking on the webview, the webview should work as usual, and if I click outside the webview, the parent view should do the
Actual Results
In Android, this works just fine. In iOS, the webview is blocked to any activity.
Test Case
var win=Ti.UI.createWindow();
var view=Ti.UI.createView();
var webview=Ti.UI.createWebView({
url:'http://google.com',
});
view.addEventListener('click', function(){
Ti.API.info('Click!');
});
view.add(webview);
win.add(view);
win.open();
Extra info
For the customer would be handy if we can set a way to tell the webview to not pass events to the parent, and continue handling it's own events.
Use this code to test
Closing bug. Verified fix on: SDK build: 1.9.0.v20120207000134 Titanium Studio, build: 1.0.8.201201262211 xcode: 4.2 Devices: iPhone 4S Sprint (5.0.1)