[TIMOB-714] load event does not fire for image view with url
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:35:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:35:00.000+0000 |
Updated | 2017-03-02T19:12:49.000+0000 |
Description
Base UI => Views => Image Views => Basic
logs load event but it never happens
reported from:
http://helpdesk.appcelerator.net/tickets/1767">http://helpdesk.appcelerator.net/tickets/1767
'load' event does happen. It looks like the 'click' event is caught by the table row and not passed along to the imageView in the sample code provided with the helpdesk ticket. I can see if click events can be passed through to subviews from table rows, so that each view fires its own 'click' event.
Events are in fact propagated down the view. However, you need to perform a few sanity checks. The following code will, in fact, work when clicking on a subelement of a row:
See Base UI->Views->Table View->Layout 2 for more examples about going clicky-clicky on stuff (including a better way to test for what type the source is; checking a property that exists for the source you want to check for is fuzzy).
Marking as invalid, since it's already fixed. Solution should be sent to the customer.
Closed as invalid.