[TIMOB-3098] App crashes when you set webview visible = false in beforeload event
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T02:00:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Jim C. |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:36:54.000+0000 |
Updated | 2011-04-17T02:00:55.000+0000 |
Description
Testing with iPhone simulator.
webview1.addEventListener('beforeload',function(e){
// This doesn't seem to do anything at all. Bug?
webview1.hide();
// This causes the app to crash. Arghh!
webview1.visible = false;
});
The issue with "webview1.visible = false" causing a crash and the webview1.hide() issue seems to be resolved with 1.6 RC1.
closing as per Jim C's comments