Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18127] iOS: animating the textfield which is added to a tableview causes the keyboard to flicker

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-12-03T21:48:20.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sRelease 3.5.0, Release 4.0.0
ComponentsiOS
Labelsqe-3.5.0, qe-assigned, regression
ReporterVisalakshi Chidambaram
AssigneeVishal Duggal
Created2014-12-03T08:04:16.000+0000
Updated2014-12-09T22:51:11.000+0000

Description

When a textfield is added to a tableview and when the height of the textfield is animated upon focus, the keyboard appears and immediately disappears. This would happen if you click on the textfield about 2-3 times and clicking/focusing the textfield several times would cause the keyboard to flicker. This is a regression as the keyboard appears properly with SDK 3.4.1 and it does not flicker if the textfield is focused continuously. However the error message indicated in step 2 under actual results is still reproducible in 3.4.1 Steps to reproduce: 1. Run the attached app.js 2. focus on the textfield 3. focus on the textfield several times continuously Actual Results: 2. Following error message is displayed:

[ERROR] :  focus 30
[ERROR] :  {
[ERROR] :      bubbles = 0;
[ERROR] :      cancelBubble = 0;
[ERROR] :      source = "[object TiUITextField]";
[ERROR] :      type = focus;
[ERROR] :      value = "";
[ERROR] :  }


and keyboard disappears immediately 3. Keyboard flickers. Expected Results: 2. No error message and keyboard should stay unless 'return' key is pressed. 3. Keyboard should not flicker

Attachments

FileDateSize
app.js2014-12-03T08:04:16.000+00001367

Comments

  1. Ingo Muschenetz 2014-12-03

    We need to find what may have caused this. Look for changes in TextWidgetProxy.
  2. Vishal Duggal 2014-12-03

    Race condition due to this commit https://github.com/appcelerator/titanium_mobile/commit/970d6b540e6bc6e833844f78a324fe41db8f09fe
  3. Vishal Duggal 2014-12-03

    Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6419 3_5_X - https://github.com/appcelerator/titanium_mobile/pull/6420
  4. Eric Wieber 2014-12-09

    Verified fixed using: Titanium SDK 3.5.0.v20141208122514 Studio 3.4.1.201410281743 Xcode 6.1.1 On: iPad mini, iOS 8.1 iPhone 6, iOS 8.2b iPhone 4S Sim, iOS 8.1

JSON Source