Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

toggle jumps back on android 4.3 and 4.2.2 #36

Open
Goltergaul opened this issue Jul 24, 2014 · 3 comments
Open

toggle jumps back on android 4.3 and 4.2.2 #36

Goltergaul opened this issue Jul 24, 2014 · 3 comments

Comments

@Goltergaul
Copy link

I have the toggle switch working as expected im my browser and on android 4.4. However on a android 4.2.2 or 4.3 device the switch jumps back to its previous position right after it is switched. The only way to correctly switch the button is by holding it down a short time and then releasing it again.

Any idea what could cause this behaviour?

@cgarvis
Copy link
Owner

cgarvis commented Jul 24, 2014

I might have to integrate with ngTouch. Sounds like <= 4.3 Android might be doing a double click.

@Goltergaul
Copy link
Author

maybe but i would not see why a single tap should result in a doubleclick?

@cgarvis
Copy link
Owner

cgarvis commented Jul 25, 2014

See http://www.ng-newsletter.com/posts/angular-on-mobile.html. Seems that in mobile there is a "fast" click and then a delayed "click" which results in a double click. Unforunately I moved angular-toggle-switch away from ng-click so I can't use ngTouch.

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

No branches or pull requests

2 participants