Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10210] KitchenSink:Controls:Text area:Basic:Focus event do not fires after toggling textarea's editable property.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-08-09T14:51:18.000+0000
Affected Version/sRelease 2.1.1
Fix Version/sSprint 2012-16 API, Release 3.0.0
ComponentsiOS
Labelsapi, qe-ios070112, qe-newKS, qe-testadded
ReporterShyam Bhadauria
AssigneeSabil Rahim
Created2012-07-27T05:25:28.000+0000
Updated2015-02-02T20:46:25.000+0000

Description

This is not a regression. It exists atleast as far as 2.0.1. Steps to reproduce 1) Install the refactored kitchen sink on android device and run it. 2) Go to Controls -> Text Area -> Basic 3) Click 'Focus' button 4) Click 'Toggle "editable"' button 5) Click 'Focus' button 6) Click 'Toggle "editable"' button 7) Click 'Focus' button Expected result 7) After step 7, since 'Toggle "editable"' have been clicked twice, text area should become editable/focussed. Actual result: 7) After step 7, text area do not becomes editable/focussed.

NOTE: ADDITIONAL TEST CASE(ADDED)

Follow the same testing steps as of above on this below test case also: TextField [test case](https://raw.github.com/gist/3290368/5f41441fb6969be8e73aae998327b6aa8a636199/app.js)

Comments

  1. Sabil Rahim 2012-08-07

    Pull [pending](https://github.com/appcelerator/titanium_mobile/pull/2695)
  2. Sabil Rahim 2012-08-08

    Make sure to the test the additional test on TextField to verify the fix
  3. Blain Hamon 2012-08-09

    Pull merged
  4. Evgenii Tcarev 2012-08-13

    Verified fixed with: Titanium Studio, build: 2.1.1.201207271312 SDK version: 2.2.0.v20120810194112 Devices: LG VS910 4G (2.3.6) iPad3 4G (5.1.1) iPhone4 (5.1.1)

JSON Source