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

iOS: Window freezing after scrolling back to the first view.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 2.0.0
    • Component/s: iOS
    • Environment:

      Description

      The window2 does not seem to be opened after the first try.

      Steps to Reproduce.

      1. Run on Device or Simulator
      2. Touch on window1 to navigate to window2
      3. Navigate back to window1
      4. Try touching on window one again.

      Actual Result

      Gets stuck on window 1

      Expected Result

      Should be able to navigate back and forth between windows.

       
       
      var tabGroup = Titanium.UI.createTabGroup({});
       
      var win1 = Titanium.UI.createWindow({  
          title:'Window 1',
          backgroundColor:'#fff'
      });
      var tab1 = Titanium.UI.createTab({
          title:'Tab 1',
          window:win1
      });
       
      var label1 = Titanium.UI.createLabel({
      	color:'#999',
      	text:'I am Window 1',
      	font:{fontSize:20,fontFamily:'Helvetica Neue'},
      	textAlign:'center',
      	width:'auto'
      });
       
      win1.add(label1);
       
      var win2 = Titanium.UI.createWindow({  
              title:'Window 2',
              backgroundColor:'red'
      });
       
      var label2 = Titanium.UI.createLabel({
          color:'#fff',
          text:'I am Window 2, if you click to go back, and try coming back again. If you are seeing this screen the second time, then its a sucess',
          font:{fontSize:20,fontFamily:'Helvetica Neue'},
          textAlign:'center',
          width:'auto'
      });
       
      win2.add(label2);
          
      win1.addEventListener('click', function(e) {
          tab1.open(win2);
      });
       
      tabGroup.addTab(tab1);  
      tabGroup.open();
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mstepanov Max Stepanov
                Reporter:
                srahim Sabil Rahim
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration