left-swipe-action
left-swipe-action copied to clipboard
Swiping stopped working
Hi, first of all i just want to thank for this element, since polymer doesn't have a swipe element, this have been crucial to the development of a app project using Polymer and angular.
Currently we're using left-swipe-action on version 0.1.1 and Polymer on 0.5.5. There isn't much of a trouble but sometimes the swipe stops working, and it seems that if you navigate the app too fast, it freezes. Has this happened in other scenario? Or is it a way to always keep it refreshed and responsive to the gesture?
Thanks in advice!
Hi @IdarGonzalez ,
Thank you for reporting an issue.
I have not seen the issue before. To clarify it, I have two questions below.
- What is the device (iOS, Android, etc) and os version?
- Does the reproduce step "you navigate the app too fast" mean "too fast swipe"?
Thanks!
@tejitak, thanks for the reply.
- We're developing for iPhone 4/5/5s/6 with iOS 8. And android 4.4.2
- No, the issue isn't while making swipe. The "swiping" has always worked well, the thing is (i think, because i haven't found a REAL pattern when the issue happens), sometimes, when you navigate through the app, the swipe just freezes, it stops working. One of the patterns SEEMS to be that if you change states (navigate) too fast, it happens.
Thank you for your answers.
But I'm still not sure how to reproduce it. Could you please tell me more details of what you've done? (especially about 'navigate through the app')
Thanks
Well, we're using angular and through ui-router we're using index.html as a "container" html to view templates (partials), these templates are "pages", states, which conform the whole navigation of the app. And inside these states, we have ng-repeats and in each ng-repeat we have a left-swipe-action. So the issue happens when you jump/navigate between these states, let's say you from your home screen to your contacts screen.
I'll paste a bit of code so you can see how we've implemented this element, check it out here. http://pastie.org/10225311
Thanks :)