Skip to content

Delayed end event occurs on IOS device #16

@chrisribe

Description

@chrisribe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions