Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1547] iOS: Events not working during view animation

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-05-24T18:45:06.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelscore
ReporterKevin Whinnery
AssigneeIngo Muschenetz
Created2011-04-15T02:55:44.000+0000
Updated2017-05-24T18:45:06.000+0000

Description

While a view is being animated, it does not respond to click events (probably other touch events as well). Here's a sample app.js to reproduce:


var win = Ti.UI.createWindow({backgroundColor:'#fff'});

var view1 = Ti.UI.createView({ width: 60, height: 60, borderRadius: 30, top: -60, left: 0, backgroundColor: "red" });

win.add(view1);

view1.animate({top: 300, duration: 5000});

view1.addEventListener("click",function() { alert("working") });

win.open();

Comments

  1. keepondev 2011-04-15

    i test it on buttons, and the events seems to be not working on any moving object

  2. Jason Meulenhoff 2011-04-15

    anynews ?

  3. Bert 2011-04-15

    Bump!

    For basic animated interactions this is key - would suggest the priority be bumped to at least medium.

  4. Nikolai Derzhak 2011-04-15

    rollback wrong update
  5. Stephen Tramer 2012-07-25

    Still valid with SDK 2.2.0.014b86f.
  6. Junaid Younus 2012-08-15

    Tested on the iOS simulator using TiSDK 2.2.0v20120814103312, issue still exists.
  7. Lee Morris 2017-05-24

    Can no longer reproduce this issue with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705021158 Ti SDK 6.1.0.v20170519131839 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.7.0_80

JSON Source