[BUG] multiple events fired when clicking on a switch in a row
Apologies if this has been posted before - I couldn't find anything about it.
I have a tableviewrow with a switch in it. I listen to 'click' on the row, and 'change' on the switch. On iPhone this lets me catch clicks on the actual switch, but also toggle the switch if anywhere else on the row is tapped.
However, on Android both events are firing. I would expect the row event not to fire if one of the internal widgets catches the event.
(Using git mobilesdk from a few days ago)
1 Answer
-
PS: createSwitch crashes when passed a string as a value argument. I would expect it to cast the string to a boolean value, as it does on the iPhone.