Shape 5

General Category => Template Showcase => : ornis August 19, 2017, 10:26:43 AM



: Prevent Mobile Menu from Opening
: ornis August 19, 2017, 10:26:43 AM
Hi,

I am using the Fitness Center template and I noticed that in mobile mode when you swipe to the right, the menu opens. I have a gallery on the site and when you swipe the image to the right, the mobile menu opens. In some instant when you zoom the page, the mobile menu opens. Is there a way to prevent the mobile menu from opening when swiping or zooming?

Thanks,
Al


: Re: Prevent Mobile Menu from Opening
: mikek August 21, 2017, 07:18:44 AM
Hello,

It should only do that if you are have already clicked to open the mobile menu once. Once you click to close it again, the mobile menu should stay closed on open. ie: the slide functionality is only triggered after it's clicked to open.


: Re: Prevent Mobile Menu from Opening
: ornis August 21, 2017, 07:33:03 AM
ie: the slide functionality is only triggered after it's clicked to open.

Tried it on iPhone and Android, the "Off Canvas (Sidebar Layout)" is triggered even without clicking to open ( just by sliding to the right ).

It does the same thing on your demo.


: Re: Prevent Mobile Menu from Opening
: mikek August 21, 2017, 11:13:24 AM
Hello,

I have tried on two different Android devices, and an Iphone 6 and it is not doing this for me. The only time swipe will do anything is if you first clicked to open it, then swipe to close it and then swipe to open it again. ie: swipe doesn't do anything unless you first click the icon first, but once you click to close it swipe deactivates again.


: Re: Prevent Mobile Menu from Opening
: zshaw December 20, 2017, 07:36:50 AM
I'm having the same issue with M Creative Agency. On the homepage, you must first scroll down a little to get this to happen. I've had it happen on both iphone x and 6s.

However, I'm not able to get it to happen on the demo.

Any ideas?


: Re: Prevent Mobile Menu from Opening
: ornis December 20, 2017, 08:14:07 AM
My issue with this has been resolved with the latest updates. Thanks.