SlickNav icon indicating copy to clipboard operation
SlickNav copied to clipboard

On mobile scroll closes menu

Open mshah1107 opened this issue 10 years ago • 4 comments

This plugin works great on desktop and ipad. On mobile, my menu has 6 items and each item has 5-6 sub items.

On mobile, while scrolling to one item in menu, the entire menu just closes. Also, the menu closes when you click anywhere outside the menu.

This is my code $('#mobileMenuId').slicknav({ open: function(trigger) { slicknavOpened(trigger); }, prependTo: '#dynamicMenu' });

Can anyone please suggest me what I can do?

Thank You.

mshah1107 avatar Dec 03 '14 16:12 mshah1107

Any help is highly appreciated. Thanks.

mshah1107 avatar Dec 17 '14 18:12 mshah1107

Scrolling works ok on my mobile and my sites that use the menu, so there must be something particular to your implementation...

symeonb avatar Dec 18 '14 08:12 symeonb

Thanks. I will check my css. Could there be any problem with my jquery?

mshah1107 avatar Dec 19 '14 15:12 mshah1107

This might help: https://github.com/ComputerWolf/SlickNav/issues/3

iamjon avatar Jul 22 '15 21:07 iamjon