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

Swiping stopped working #4

Open
IdarGonzalez opened this issue Jun 3, 2015 · 4 comments
Open

Swiping stopped working #4

IdarGonzalez opened this issue Jun 3, 2015 · 4 comments

Comments

@IdarGonzalez
Copy link

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!

@tejitak
Copy link
Owner

tejitak commented Jun 5, 2015

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!

@IdarGonzalez
Copy link
Author

@tejitak, thanks for the reply.

  1. We're developing for iPhone 4/5/5s/6 with iOS 8. And android 4.4.2
  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.

@tejitak
Copy link
Owner

tejitak commented Jun 5, 2015

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

@IdarGonzalez
Copy link
Author

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 :)

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

2 participants