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

MobileWeb: Setting the views property on ScrollableView causes a crash

    Details

      Description

      Setting the views on a scrollable view using the views property causes a crash.

      var win = Ti.UI.createWindow({
      	backgroundColor:'white',
      	title: "yo"
      });
       
       
      var makePage = function(n) {
      	var v = Ti.UI.createView({backgroundColor: n});
      	v.add(Ti.UI.createLabel({text: n, color: 'white'}));
      	return v;
      }
       
      var views = ["blue", "green", "red"].map(makePage);
      var scrollable_view = Ti.UI.createScrollableView({views:views, showPagingControl:true });
      win.add(scrollable_view);
      win.open();
      debugger;
      

        Attachments

          Activity

            People

            • Assignee:
              bhughes Bryan Hughes
              Reporter:
              bhughes Bryan Hughes
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration