[TIMOB-4155] iOS: Ti.App.fireEvent strips native items from the event payload, despite this working fine when
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-06T17:39:45.000+0000 |
| Affected Version/s | Release 1.7.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Blain Hamon |
| Assignee | Ingo Muschenetz |
| Created | 2011-05-19T17:43:43.000+0000 |
| Updated | 2017-06-06T17:39:45.000+0000 |
Description
If you do a Ti.App.fireEvent('foo',{'bar':Ti.UI.createButton()}); the button is intentionally stripped. However, doing a Ti.UI.currentWindow.fireEvent('foo',{'bar':Ti.UI.createButton()}); does the right thing.
The issue lies in AppModule.m, lines 148-154.
No comments