codrops / MultiLevelPushMenu

An experimental push menu with multi-level functionality that allows endless nesting of navigation elements.
741 stars 202 forks source link

On Iphone Menu #1

Open marcelosantos89 opened 11 years ago

marcelosantos89 commented 11 years ago

On the iPhone I made a tweak use on horizontal only appears 5 menus and i have like 20 and in browser also dont show all .. i made height: auto for content now i have access to all menu.

But on iPhone and Tablets with that tweak once i try to scroll down with menu open it instantly enters a sub-menu is there any way of only entering menu if u actualy click and not touch and slide up ?

xzegga commented 10 years ago

I have the same problem are you find a fix for this issue?

pnkr commented 9 years ago

Did anyone find a solution to this problem?

Trimud commented 9 years ago

Adding overflow-y: visible; to .mp-level seems to fix this issue.

lstanard commented 8 years ago

In the _init function there's a property of this.eventtype = mobilecheck() ? 'touchstart' : 'click';. It specifies the touchstart event for mobile devices based on the UA string. This event fires as soon as the user touches the screen. I changed to this.eventtype = 'click'; and it seems to have fixed the issue for me. I haven't done extensive device testing, but as far as I know the click event works on most mobile OSs.