mhulse / jquery-megakrill

Compact navigation for mobile devices and responsive layouts.
http://mhulse.github.io/jquery-megakrill/demo/
Apache License 2.0
8 stars 1 forks source link

Long-click / Auto-collapse menu #31

Open psullivan6 opened 11 years ago

psullivan6 commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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

https://github.com/registerguard/jquery-megawhale/issues/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 ::