Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1698] Weird Click Event Inconsistency with 3.5.0GA and Appcelerator NavigationWindow and RightNavButtons

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2015-02-02T16:54:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsios,, modal, navigationWindow
ReporterAaron K. Saunders
AssigneeRadamantis Torres-Lechuga
Created2015-02-02T16:30:16.000+0000
Updated2016-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

Comments

  1. Tim Poulsen 2015-02-02

    This appears to duplicate TIMOB-17367. Please watch that ticket for resolution.

JSON Source