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

Long-click / Auto-collapse menu #31

Open
psullivan6 opened this issue Mar 12, 2013 · 2 comments
Open

Long-click / Auto-collapse menu #31

psullivan6 opened this issue Mar 12, 2013 · 2 comments

Comments

@psullivan6
Copy link

Device Info:
Samsung Galaxy Nexus smartphone (first generation)
Spec sheet
More specs
Stock browser (more details to come)

User issue:
After quickly tapping the navigation icon, the menu expands then collapses in the same animation. This is also true for the close state if the menu can be opened.

User solution:
Tap and hold the navigation icon until the animation stops, then it will remain open as it is expected to do.

@mhulse
Copy link
Owner

mhulse commented Mar 12, 2013

Thanks!

Oddly enough, an older Motorola 4G lite (not sure of model specifics) does not exhibit this behavior in the stock browser (which looks just like the stock browser for the Samsung Galaxy Nexus).

I'll need to build an isolated test page to narrow down the problem.

@mhulse
Copy link
Owner

mhulse commented May 2, 2013

I think this has to do with detecting for touch. See:

mhulse/jquery-megawhale#27

In above issue, see comments on fastclick. I think I can remove my "touch" detection and impliment fastclick instead. The only reason I try to detect "touch" is so I can have faster clicks... If I switch back to a standard click, and use fastclick instead, then these problems could be solved.

:: crossing fingers ::

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