Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2746] iOS: TableView with text field - giving focus to the text field a second time does not produce expected behavior

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:58.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M05
ComponentsiOS
Labelsdefect, field, focus, ios, release-1.6.0, reported-1.6.0, text
ReporterThomas Huelbert
AssigneeBlain Hamon
Created2011-04-15T03:28:27.000+0000
Updated2011-04-17T01:59:58.000+0000

Description

iOS 4.1 4GT iPod touch. Titanium SDK version: 1.6.0 (01/04/11 08:01 e49700d)

1.BaseUI > Views > Table Views > Table view w/ Text Field
2.scroll to the bottom of the table
3.tap into the bottom most row

results: the text input indicator animates from the bottom of the field to the top (a bit intermittant, try 3-4 times you should see it)

4.type in some text
5.tap into the row above
6.now tap back into the bottom most row

results: the row is pushed behind the keyboard
expected:input to be visible.

exists in 1.5.1

Comments

  1. Jeff Haynie 2011-04-15

    (from [bbca90499aa7caf3393ca91d04f9243428f24e8d]) [#1645 state:fixed-in-qa] [#1714 state:fixed-in-qa] [#2189 state:fixed-in-qa] [#2442 state:fixed-in-qa] [#1645 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2736 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2746 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2197 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2746 state:fixed-in-qa milestone:"Release 1.6.0 M05"] Look ma, I fixed the keyboard! https://github.com/appcelerator/titanium_mobile/commit/bbca90499aa7caf3393ca91d04f9243428f24e8d"> https://github.com/appcelerator/titanium_mobile/commit/bbca90499aa7...

  2. Jeff Haynie 2011-04-15

    (from [bbca90499aa7caf3393ca91d04f9243428f24e8d]) [#1645 state:fixed-in-qa] [#1714 state:fixed-in-qa] [#2189 state:fixed-in-qa] [#2442 state:fixed-in-qa] [#1645 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2736 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2746 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2197 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2746 state:fixed-in-qa milestone:"Release 1.6.0 M05"] Look ma, I fixed the keyboard! https://github.com/appcelerator/titanium_mobile/commit/bbca90499aa7caf3393ca91d04f9243428f24e8d"> https://github.com/appcelerator/titanium_mobile/commit/bbca90499aa7...

  3. Pedro Enrique 2011-04-15

    Tested the following code on iPhone 4 (4.2.1) and iPhone Simulator (4.2)

       var win = Titanium.UI.createWindow({backgroundColor:'#ccc'});
       var table = Ti.UI.createTableView({});
       data = [];
       for(var i = 0;i<30;i++){
           var row =Ti.UI.createTableViewRow({});
           var textfield = Ti.UI.createTextField({height:40,width:300,value:i,backgroundColor:'#ccc'});
           row.add(textfield);
           data[i]=row;
           Ti.API.info(i);
       }
       table.data=data;
       win.add(table);
       win.open();
       

    Ti SDK 1.6 (Jan 25 2011 17:39 r1ead074f)
    Working as expected

  4. Pedro Enrique 2011-04-15

    Tested on KS with iPhone 4 (4.2.1) and iPhone Simulator (4.2)

    Ti SDK 1.6 (Jan 25 2011 17:39 r1ead074f)

    Working as expected

JSON Source