[AC-1852] Keyboard stays up when you Show/Hide elements in a TableViewRow
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-05T22:14:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | bug, ios, qe-testadded, tableviewrow, textfield |
Reporter | Mitchell Amihod |
Assignee | Mauro Parra-Miranda |
Created | 2012-10-05T19:14:01.000+0000 |
Updated | 2016-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
File | Date | Size |
app.js | 2012-10-05T19:14:01.000+0000 | 1663 |
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.
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
PR https://github.com/appcelerator/titanium_mobile/pull/3118
thanks for the quick turn around. On east coast time, so will give it a shot in a few hours.
PR for 2_1_X https://github.com/appcelerator/titanium_mobile/pull/3119
works perfect for me in app. Thanks!