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

Android: TableView: Softkeyboard appears on clicking any tableviewrow but immediately disappear

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: Release 3.1.0
    • Component/s: Android
    • Environment:

      SDK: 3.1.0.v20130322171500
      Studio:3.0.2.201302191606
      Device: Galaxy Nexus(v 4.0.4), Nexus 7 (V4.1)
      Mac OS - 10.8
      CLI - 3.0.25-alpha

      Description

      This is regression. The issue does not exist on 3.0.2. But the textfield in tableviewrow is never editable on any build.

      Steps to Reproduce:
      1. Create an application with code below and launch the application
      2. Click on any row in the tableview

      Actual: Softkeyboard appears but disappears immediately.
      Expected: Softkeyboard should not disappear immediately. It should disappear when click return on the keyboard.

      var _window = Ti.UI.createWindow();
      _window.fullscreen = false;
              _window.backgroundColor = 'white';
               
              var tableView = Ti.UI.createTableView({
                  top : '0dp',
                  bottom : '0dp',
                  left : '0dp',
                  right : '0dp'
              });
               
              var numRows = 15;
              var rows = [];
              for (var i = 0; i < numRows; i++){
                  var tableViewRow = Ti.UI.createTableViewRow({
                      height : 'auto'
                  });
                   
                  var textField = Ti.UI.createTextField({
                      top:'0dp',
                      left : '5dp',
                      right : '5dp',
                      borderColor : '#CCCCCC',
                      borderStyle : Ti.UI.INPUT_BORDERSTYLE_BEZEL
                  });
                   
                  tableViewRow.add(textField);
                   
                  rows.push(tableViewRow);
              }
              tableView.data = rows;
              _window.add(tableView);
              _window.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pwang Ping Wang
                Reporter:
                djha Dhirendra Jha
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code