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

Windows: Setting height to auto on a tableview with many rows breaks scrolling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.0
    • Fix Version/s: Release 6.2.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Ti SDK: 6.1.1.v20170614134051
      Appc Core: 6.2.2
      Appc NPM: 4.2.9
      Lumia 550 10.0
      10.0 ws-local

    • Story Points:
      5
    • Sprint:
      2017 Sprint 14 SDK

      Description

      Description

      When setting height to auto on a tableview with many rows, the scrolling will break

      var _window = Ti.UI.createWindow();
      var tbl_data = [];
      for (var i = 0; i < 50; i++) {
          var row = Ti.UI.createTableViewRow();
          var label = Ti.UI.createLabel({
              left: 10,
              text: 'Row ' + (i + 1)
          });
          row.add(label);
          tbl_data.push(row);
      }
      var table = Titanium.UI.createTableView({
          height: 'auto',
          data: tbl_data
      });
      _window.add(table);
      _window.open();
      

      Steps to reproduce
      1. Add the above to an existing app.js
      2. Build for a windows target
      Actual

      When the height is set to auto scrolling breaks

      Expected

      When the height is set to auto the scrolling should not break

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Ewan Harris
                Tester:
                Samir Mohammed
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code