[TIMOB-810] table view touchstart and touchend events do not fire for rows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:18.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:37:00.000+0000 |
Updated | 2011-04-17T01:54:18.000+0000 |
Might be solved by just always propagating the event through parent views. But this can cause events to be triggered multiple times, which may not be considered appropriate. Will ask about this one.
(from [e623125387160c7da0368f97edfe0fc24d9c8407]) Closes #810: Views which have a touch delegate (such as table rows) now propagate events up to their parent proxies. Testing seems to confirm this is OK, but see bug 824. http://github.com/appcelerator/titanium_mobile/commit/e623125387160c7da0368f97edfe0fc24d9c8407"> http://github.com/appcelerator/titanium_mobile/commit/e623125387160...
Need a custom table view cell class (or always force the base view of the cell to be a TiUIView) so that touch (and other) events propagate correctly.
Turns out this is a problem for other UI elements as well that use cells, such as buttons. Created #913, closing this.