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

iOS: Child views showing as visible when outside parent bounds

    Details

    • Sprint:
      2018 Sprint 05 SDK

      Description

      Problem Description

      There is a change of how we make objects visible with 3.3.0.GA

      VIEW A [width 30 - height 30]
      VIEW B [width 30 - height 30 - left 30]

      • With SDK <= 3.2.3.GA if i add the VIEW B to VIEW A , the VIEW B is not visible [CORRECT]
      • With SDK 3.3.0.GA if i add the VIEW B to VIEW A , the VIEW B is visible [NOT CORRECT]

      Steps to Reproduce

      • Create a new mobile project (Classic Titanium)
      • Replace app.js content with this:

        var win = Ti.UI.createWindow({
            backgroundColor : 'white',
            fullscreen : true
        });
         
         
        var view_1 = Ti.UI.createView({
           width : 30,
           height : 30,
           backgroundColor : "red"
        });
         
        var view_2 = Ti.UI.createView({
            width : 30,
            height : 30,
            backgroundColor : "green",
            left : 30
        });
         
        win.add(view_1);
        view_1.add(view_2);
         
        win.open();
        

      • Run the test code with 3.2.3GA SDK
      • Run the test code with 3.3.0GA SDK

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              nicolomonili nicolomonili
              Reviewer:
              Jon Alter
              Tester:
              Kajenthiran Velummaylum
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration