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

iOS: Content in ScrollableView will not display If ScrollableView is inside a ScrollView

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.0, Release 3.5.1
    • Fix Version/s: Release 4.1.0
    • Component/s: iOS
    • Environment:

      SDK 3.5.*
      iOS 8.2

    • Sprint:
      2015 Sprint 07 SDK

      Description

      Problem

      Content in ScrollableView will not display If ScrollableView is inside a ScrollView.

      Reproduce:

      Simply run the following code.

      app.js

      var win = Titanium.UI.createWindow({
      	height: Ti.UI.Fill
      });
       
      var textView = Ti.UI.createView({
      	width: "97%",
      	top: "0", 
      	left: "7",
      	touchEnabled:"false",
      	layout:'vertical'
      });
       
      var textArea = Ti.UI.createTextArea({
      	width:"100%",
      	value:"This policy provides at least the minimum amounts of liability insurance required by the Texas Motor Vehicle Safety Responsibility Act for the specified vehicles and named insureds and may provide coverage for other persons and other vehicles as provided by the insurance policy."
      });
       
      textView.add(textArea);
       
      var scrollableView = Ti.UI.createScrollableView({
      	views:[textView],
      	backgroundColor: "#ffffff",
      	layout: "horizontal",
      	scrollingEnabled:"false",
      	touchEnabled:"false"
      });
       
      var scrollView = Titanium.UI.createScrollView({
      	width: "93%",
      	height: "85%",
      	layout: "vertical",
      	scrollType: "vertical",
      	scrollingEnabled: "true",
      	touchEnabled: "true"
      });
       
      scrollView.add(scrollableView);
      win.add(scrollView);
      win.open();
      

      Expect Result:

      The TextArea should display well.

      Actual Result:

      Nothing inside ScrollableView will display.

      Note:

      Problem only happens in SDK 3.5.*
      It works well in SDK 3.4.1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                sliang Shuo Liang
                Reviewer:
                Pedro Enrique (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code