Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19367] iOS 9 - Click events don't always work

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterRick Blalock
AssigneeUnknown
Created2015-08-18T04:16:21.000+0000
Updated2018-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.

Comments

No comments

JSON Source