{ "id": "63333", "key": "TIMOB-2701", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11240", "name": "Release 1.6.0 M07", "archived": true, "released": true, "releaseDate": "2011-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:51.000+0000", "created": "2011-04-15T03:27:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "ipad", "regression", "release-1.6.0", "rplist", "tableview", "textarea", "textfield" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:51.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

A Quickstart customer of ours is having an issue with textfield\nand textareas inside table rows. When the table loads the\ntextfields and textareas briefly appear to the far left and then\nget placed in the correct position (it's mal-positioned for a split\nsecond). The problem does not happen in 1.4.2 / 1.4.3 - only 1.5\nand the latest build of 1.6 (as of today). (using iOS SDK 4.2).

\n

I do not have his code yet as a sample to show you so I tried to\nduplicate it on my end. Below is a video of it happening to me\nthough it is happening when I scroll the table (the customer's\nissue happens when the table is loaded). In my test, the problem\ndoes not happen in 1.4.3 / 1.4.2 but does in 1.5 / 1.6.

\n

Video: \nhttp://www.screencast.com/users/XiDScreencasts/folders/Jing/media/a...
\nCode Snippet from my example: http://pastie.org/1411262

\n

NOTE: In my tests, the problem persists with / without a\nclassName in the table. The problem does not occur if there is no\ntable style (group) associated with it. However, in the customer's\ncase, he has 'style: Ti.UI.iPhone.TableViewStyle.PLAIN' set and the\ntextfield / textarea jump still occurs.

{html}", "attachment": [], "flagged": false, "summary": "Regression issue: iPad - Ti 1.5: Textfield and Textareas inside a table cause oddities", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "129226", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "{html}

By the way, I should be getting the code from the customer this\nweek so I can post a better example of exactly what is going on. I\nwas screensharing with him again today and we tried a few things\nlike wrapping a view around the textarea / textfields and the same\nthing happened.

{html}", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-15T03:27:24.000+0000", "updated": "2011-04-15T03:27:24.000+0000" }, { "id": "129227", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "{html}

Hi Guys,
\nHere's a video of the issue happening on an actual device. I just\ngot the source code so I hope to show you all that soon.

\n

http://developer.appcelerator.com/helpdesk/view/64031

{html}", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-15T03:27:24.000+0000", "updated": "2011-04-15T03:27:24.000+0000" }, { "id": "129228", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "{html}

Hey guys,
\nJust wanted to keep you up to date on my debugging on the JS\nside:

\n

Basically he has a custom row. Inside the row is a label and a\ntextarea, textfield, etc. Any of the form elements will always get\ndrawn on the far left of the table and then jump to the appropriate\nplace according to it's positioning / width, etc.

\n

His rows look like: http://pastie.org/1435212
\nForm fields look like (textarea for example): http://pastie.org/1435218

\n

I've tried a number of things: Setting widths to the form fields\n(% and integers). Put a setTimeout around them. Taking out all\npositioning / dimension properties and placing them in a view and\nposition the view accordingly and add the form element to the view.\nAll end up with the same result.

\n

Hope this helps more.

{html}", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-15T03:27:24.000+0000", "updated": "2011-04-15T03:27:24.000+0000" }, { "id": "129229", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

Also happening with iPhone, I marked the following ticket as\nduplicate:

\n

\nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

{html}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:27:24.000+0000", "updated": "2011-04-15T03:27:24.000+0000" }, { "id": "129230", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [667c96789da2987fc8e45a425f5a339d21d023e2])\n[#2701 state:fixed-in-qa] Make a proper sandbox\nbounds before creating a view. \nhttps://github.com/appcelerator/titanium_mobile/commit/667c96789da2...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:27:25.000+0000", "updated": "2011-04-15T03:27:25.000+0000" }, { "id": "129231", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested sim 4.2.1 release, iPad 4.2.1 release. Behaves as\nexpected.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:27:25.000+0000", "updated": "2011-04-15T03:27:25.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }