Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4245] TextArea not firing some events (touchstart, touchend, doubletap, swipe, singletap)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T19:03:31.000+0000
Affected Version/sRelease 1.5.0, Release 1.6.0, Release 1.7.0
Fix Version/sn/a
ComponentsiOS
Labelsreprod
Reporterjammer
AssigneeIngo Muschenetz
Created2011-05-27T06:34:20.000+0000
Updated2020-01-09T19:03:31.000+0000

Description

TextArea does not fire some events on iOS (touchstart, touchend, doubletap, swipe, singletap) Ex :
var win = Titanium.UI.createWindow({ backgroundColor:'#FFF' });

win.open();

var TA = Ti.UI.createTextArea({
  width:292,
  height:300,
  backgroundColor:'#222'
});

TA.addEventListener('touchstart', function(e) { Ti.API.info('touchstart fired'); });
TA.addEventListener('doubletap',function(e) { Ti.API.info('doubletap fired'); });
TA.addEventListener('singletap',function(e) { Ti.API.info('singletap fired'); });
TA.addEventListener('swipe',function(e) { Ti.API.info('swipe fired'); });

win.add(TA);

Comments

  1. Paul Dowsett 2011-05-28

    in order for us to progress this issue, edit your ticket to include a proper [Use-case](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases). Please read the [Submitting Bug Reports](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports) guide before raising tickets. Thank you
  2. Paul Dowsett 2011-05-30

    Again, please read the [Creating Good Usecases](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases) guide. Your code needs to be complete, and run without modification, in order for this issue to be progressed.
  3. jammer 2011-05-30

    is it enough for an example?? :/
  4. Paul Dowsett 2011-05-30

    Almost ;) Try to use the wiki markup, to make the ticket easier to understand. Also, ensure you remove all superfluous properties from your objects, to make your usecase as concise as possible. Would you please test 1.7.X, and include the build date and hash of all Titanium versions you have tried? Thanks
  5. jammer 2011-05-30

    I wish i can, but really i don't have enough time for the moment to install and test the beta 1.7.x .. :/ But ok, next time, if necessary, i'll try to give a better report! :)
  6. Paul Dowsett 2011-05-30

    OK, jammer, I will put it through, but expect me to be stricter next time. ;) Thanks for bring the issue to our attention, though, it's appreciated. Note: tested on Android 2.2 with Ti 1.7.X, which does respond to the events
  7. Lee Morris 2017-06-22

    I am able to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170620103414 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
  8. Alan Hutton 2020-01-09

    It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. Updating, or creating code may not reproduce the issue reported, or be a valid test case. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source