Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24003] [Android] Textfield with editable false doesn't trigger click event

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2016-12-01T14:57:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid
ReporterBaharroth
AssigneeGary Mathews
Created2016-09-26T15:03:29.000+0000
Updated2017-03-20T22:26:38.000+0000

Description

On Android with SDK > 5.4 (because there is no bug with SDK < 5.3) Textfield with editable false doesn't trigger click event So, even if the textfield is not editable, it should trigger the click event ? var textField = Ti.UI.createTextField({ editable : true, borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED, color : '#336699', top : 10, left : 10, width : 250, height : 60, hintText : 'click' }); textField.addEventListener('click', function(e) { alert('coucou'); });

Comments

  1. Gary Mathews 2016-12-01

    Fixed by https://github.com/appcelerator/titanium_mobile/pull/8533
  2. Gary Mathews 2016-12-01

    Duplicate of TIMOB-24052
  3. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source