Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18501

iOS: Open NavigationWindow with FLIP_FROM_LEFT transition makes title jump

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 3.5.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      Titanium SDK: 3.3.0.GA and 3.2.3.GA
      Titanium CLI: 3.3.0
      OS X Version: 10.9.3
      iOS Simulator: 7.1

      Description

      Problem Description

      Open NavWindow with FLIP_FROM_LEFT produces a little jump.

      Steps to reproduce

      1. Create a new mobile project
      2. Add this to app.js

      var firstWindow = Ti.UI.createWindow({
      	backgroundColor : "white",
      	title:'First Window'
      	
      });
      var firstWindow = Ti.UI.iOS.createNavigationWindow({
      	backgroundColor: 'blue',
      	window : firstWindow
      });
      var openLabel = Ti.UI.createLabel({
      	text : 'Open window'
      });
      openLabel.addEventListener('click', function() {
      	navWindow.open({
      		transition : Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
      	});
      });
      firstWindow.add(openLabel);
       
      var secondWindow = Ti.UI.createWindow({
      	backgroundColor: 'white',
      	title : 'Second Window',
      });
      var closeButton = Ti.UI.createButton({
      	title : 'Close'
      });
      closeButton.addEventListener('click', function(e) {
      	navWindow.close({
      		transition : Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
      	});
      });
      secondWindow.setLeftNavButton(closeButton);
      var navWindow = Ti.UI.iOS.createNavigationWindow({
      	backgroundColor: 'red',
      	window : secondWindow
      });
      firstWindow.open();

      3. Run it in a device.

      Actual Results

      The Navigationbar and title jumps when opened Second window.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thomas.neerup@eg.dk Thomas Neerup Andersen
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19680
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code