[TIMOB-19367] iOS 9 - Click events don't always work
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Rick Blalock |
| Assignee | Unknown |
| Created | 2015-08-18T04:16:21.000+0000 |
| Updated | 2018-02-28T19:55:13.000+0000 |
Description
Noticing that sometimes click events are not registering at all. Below is some code from my app, this works on the current Ti SDK GA:
Alloy View:
<View id="gridContainer">
<View id="wrapper">
<View class="section" id="regulationSection">
<View class="cell" id="bag_limit">
<Label bindKey="text" bindValue="bag_limit" class="value" />
<Label class="key">Bag Limit</Label>
</View>
<!-- etc. -->
Controller
$.handleGridSelection = function(_event) {
// This never gets called
};
$.gridContainer.addEventListener("click", $.handleGridSelection);
I'm expecting _event.source to be from <View class="cell" id="bag_limit"> but in fact the event is never fired at all.
No comments