[AC-1698] Weird Click Event Inconsistency with 3.5.0GA and Appcelerator NavigationWindow and RightNavButtons
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2015-02-02T16:54:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | ios,, modal, navigationWindow |
Reporter | Aaron K. Saunders |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-02-02T16:30:16.000+0000 |
Updated | 2016-03-08T07:38:11.000+0000 |
Description
when you use this code, sometimes the click event on the button is ignored... nothing shows up in the alert when you click using the latest 3.5.0 SDK on IOS
This code is inconsistent
<Alloy>
<NavigationWindow id="nav" formFactor="handheld">
<Window id="win" class="container">
<RightNavButtons>
<Button systemButton="Ti.UI.iPhone.SystemButton.ADD" onClick="doClick"/>
</RightNavButtons>
</Window>
</NavigationWindow>
</Alloy>
Please note that there is no issue when using this format, only the "RightNavButton" as opposed to "RightNavButtons"
<Alloy>
<NavigationWindow id="nav" formFactor="handheld">
<Window id="win" class="container">
<RightNavButton title="ADD" onClick="doClick" systemButton="ADD"/>
</Window>
</NavigationWindow>
</Alloy>
This seems that it worked fine in 3.4.1
source code available here https://gist.github.com/aaronksaunders/04caa6b1b2443e87430c
This appears to duplicate TIMOB-17367. Please watch that ticket for resolution.