Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delayed end event occurs on IOS device #16

Open
chrisribe opened this issue Jan 28, 2014 · 0 comments
Open

Delayed end event occurs on IOS device #16

chrisribe opened this issue Jan 28, 2014 · 0 comments

Comments

@chrisribe
Copy link

Hi first of all great module !

I am having an issue where the end event is fired with a slight delay (1-2 seconds) but only sometimes. This does not occur on the simulator which works perfectly.

 uCard.addEventListener('end', function(e)
 {
   Ti.API.info("end !!");
   //Reset pos workaround ! see issue #14
   e.source.setLeft(e.source.left);
   e.source.setTop(e.source.top);

   //Bounce back to a certain position on end   
        var a Ti.UI.createAnimation({top: 15, left: 15});
     e.source.animate(a);
 });

Could the issue be related to my workaround ?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant