Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2788] leftNavButton flashes within a navigation group

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNeeds more info
Resolution Date2012-07-26T14:17:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterOliver Morgan
AssigneeNeeraj Gupta
Created2011-04-15T03:29:36.000+0000
Updated2017-11-29T23:29:39.000+0000

Description

When using a custom leftNavButton within a navigation group when you navigate to a new window then use the back button to return to the previous window, the leftNavButton re-appears, goes, then flashes back - as if its being re-initialised.

It's a minor visual glitch but would be nice if it were fixed.

Thanks

Comments

  1. Jim C. 2011-04-15

    Same problem with Tab Group. The leftNavButton flashes every time you select the tab. This does not happen to the rightNavButton or the Tool bar buttons.

       
       // Create the logout button
       btnHome = Titanium.UI.createButton({
           image:ICON_HOME,
           width:40, 
           style:Titanium.UI.iPhone.SystemButtonStyle.PLAIN
       });
       win1.leftNavButton = btnHome;
       btnHome.addEventListener('click', function() { /* do something */ });
       
  2. Jim C. 2011-04-15

    Just noticed that the leftNavButton is smaller than the rightNavButton even though they both have their width set the same. Clue?

       
           // Create the home button
           btnHome = Titanium.UI.createButton({
               image:ICON_HOME,
               width:40, 
               style:Titanium.UI.iPhone.SystemButtonStyle.PLAIN
           });
           win1.leftNavButton = btnHome;
           btnHome.addEventListener('click', function() { browser_home(); });
               
           // Create the refresh button
           btnRefresh = Titanium.UI.createButton({
               image:ICON_REFRESH,
               width:40, 
               style:Titanium.UI.iPhone.SystemButtonStyle.PLAIN
           });
           win1.rightNavButton = btnRefresh;
           btnRefresh.addEventListener('click', function() { browser_refresh(); });
       
  3. Ciaran Treanor 2011-05-06

    Related to TIMOB-1553 I wonder?
  4. Stephen Tramer 2012-07-26

    Requires *complete* & valid test case.

    When this is resolved the ticket may be reopened.
  5. Lee Morris 2017-03-16

    Closing ticket as the information that was requested was never provided.
  6. Brenton House 2017-11-29

    I am seeing this with Appcelerator 6.3.0 and SDK 6.2.2

JSON Source