[ALOY-492] Events are blocked in special cases in TableViewSection
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-01-30T17:25:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 03 |
Components | Runtime |
Labels | leftnavbutton, rightnavbar, tableviewsection |
Reporter | farid fadaie |
Assignee | Tony Lukasavage |
Created | 2013-01-16T18:48:11.000+0000 |
Updated | 2014-01-28T23:55:20.000+0000 |
Description
The bug can reliably be reproduced. The attached code can reproduce it. The expected behavior is to add a row to the tableviewsection. However, once we add the row and rerender the tableview (with setData), all of the eventlisteners on the tableview stop working (even the ones on other rows). There are some weird ways to workaround the bug (but none of them can be used in my case and that's why I'm reporting this): *If you only have the rightNavBAr or leftNavbar (not both). Not even sure why this is related but if you remove one of buttons, it just works! *Use InsertRowAfter (or appendRow) instead of setData to add the row to the section. This approach works but the issue is if you don't have any row in a section and want to add a row to that section, it just won't work. *move win.open() to somewhere after setData in the code. This approach also works but I cannot really do it in my case. All of the workarounds look pretty bizarre to me and I don't even know why they work.Attachments
File | Date | Size |
---|---|---|
index.js | 2013-01-16T18:48:11.000+0000 | 409 |
index.xml | 2013-01-16T18:48:11.000+0000 | 566 |