Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1852] Keyboard stays up when you Show/Hide elements in a TableViewRow

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2012-10-05T22:14:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsbug, ios, qe-testadded, tableviewrow, textfield
ReporterMitchell Amihod
AssigneeMauro Parra-Miranda
Created2012-10-05T19:14:01.000+0000
Updated2016-03-08T07:40:45.000+0000

Description

Keyboard stays up when you show/hide elements in a tableviewrow In this example, we have a label and a textfield in a row. When the row is clicked, we switch to 'edit' mode - hide the label, show the textfield. When we hit Done, the blur callback will show the label, and hide the textfield. However, the keyboard doesn't hide properly. This was working under 2.0.X

Attachments

FileDateSize
app.js2012-10-05T19:14:01.000+00001663

Comments

  1. Arthur Evans 2012-10-05

    Tested code. Works in 2.1.2, fails in 2.1.3. If I comment out the blur listener, it works properly as well. Perhaps adding the listener is preventing the proper blur handling? Could be related to some keyboard fixes in 2.1.3.
  2. Mitchell Amihod 2012-10-05

    let me know if anyone has any suggested hotfixes I can apply. Otherwise, was going to try to work around by fixing up keyboard events module, and doing show/hide on keyboardDidHide
  3. Vishal Duggal 2012-10-05

    PR https://github.com/appcelerator/titanium_mobile/pull/3118
  4. Mitchell Amihod 2012-10-05

    thanks for the quick turn around. On east coast time, so will give it a shot in a few hours.
  5. Vishal Duggal 2012-10-05

    PR for 2_1_X https://github.com/appcelerator/titanium_mobile/pull/3119
  6. Mitchell Amihod 2012-10-06

    works perfect for me in app. Thanks!

JSON Source