Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2059

TextField focus doesn't work when TF isn't visible...

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Macbook Pro, OSX 10.7.5, iOS Simulator v. 6.0 (369.2). Ti: 3.1 GA

      Description

      TextField focus doesn't work when TF isn't visible on a screen.

      STEPS TO REPRODUCE?:

      • Turn on app
      • When you stay on the top of a TableView you can see first TextField there focus work without any problem
      • Try to hide showed keyboard for first TextField and scroll/move to the bottom of a TableView (There focus doesn't work...)

      SAMPLE:

       
      var win = Ti.UI.createWindow();
      var table = Ti.UI.createTableView({ style: Ti.UI.iPhone.TableViewStyle.GROUPED });
      var data = [];
       
      for(i=0;i<20;i++)
      {
      	var row = Ti.UI.createTableViewRow({width: Ti.UI.FILL, height: Ti.UI.FILL});
      	var tField = Ti.UI.createTextField({width: Ti.UI.FILL, height: "100%"});
      	
      	row.add(tField);
      	data.push(row);
      }
       
       
      table.data = data;
       
      win.add(table);
      win.open();
       
      setInterval(function(){ data[0].children[0].focus(); }, 3000);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shossain Shak Hossain (Inactive)
                Reporter:
                sko Matej
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration