Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #762968

    Hi,

    I after the last theme update, the navigation for mobile version is having issue: it keeps closing by itself (tested on chrome and safari browser).
    Can you let know if other people experienced this too and how did you resolve it?

    Thanks

    #762980

    Hey sdachos,
    Sorry I was not able to reproduce your issue, your menu is working properly for me. Have you tried clearing your cache?

    Best regards,
    Mike

    #764441

    Hi Mike

    Thanks for getting back,
    Yes I cleared the cache but the mobile navigation is still not displaying properly and keep closing by itself.

    – On the homepage, the navigation slides in and stay opens normally
    – But on inner pages (for example, on pumpsandprocess.com/products, the menu will slides in for 1sec and close right away.

    Is there away to display differently the menu on mobile to avoid this issue?

    Thanks again for your help.

    #765284

    Hi sdachos,

    I’ve tested your menu in browser emulators and
    mobile test emulators. The menu does not close until I press close or chose another page. The menu works fine. Can you press cmd+r for Mac or ctrl+f5 for Windows and check again, please.

    Let us know if this was helpful.
    Best regards,
    Victoria

    #765781

    Thank you for sharing the link.

    I tried again on actual iphone and ipad and the issue is still there: the menu is closing by itself within seconds.
    Can you help me if you try on actual device and see the same issue please?

    Thanks again

    #765812

    Hi,

    The problem exist because I tested your site on my iPhone and the menu is dissapearring, so, I`ll investigate it and give to you an answer as soon as possible!.

    Best regards,
    John Torvik

    #765879

    Hi,

    Seems like the issue appears on ios devices only since it’s working fine on an android phone. Can you try to disable all plugins and check if the issue still persists? or if you have caching plugins try to clear cache and disable it (some caching plugins leave some files that causes issue which you might need to delete).

    Regards,
    Nikko

    #766253

    Hi

    Thanks for your reply, I desactivated the cache plugin, I update the theme versions and all the other plugins.
    But the issue is still remaining.

    Can you let me know if there could be another thing I need to check to fix the menu or is there another way to display it?

    Thanks again

    #766962

    HI,

    I have the same problem with the mobile menu on iphone 6 (check http://www.safran-gewuerzbasar.de)

    After clicking, the mobile menu disappears immediately and the user is unable to scroll or click on one of the submenu links.

    Thanks for your help
    Michael

    #767015

    Hi,

    You have to modify avia.js, find hide_menu function and replace it with this:

    
    hide_menu = function(e)
    {	
        e.preventDefault();
        container.removeClass('show_mobile_menu');
        setTimeout(function(){ 
           container.css({'height':"auto", 'overflow':'hidden', 'minHeight':0}); 
           mobile_advanced.css({display:'none'});
    	},600);
        return false;
    },
    
    

    and show_menu function replace with

    
    show_menu = function(e) {
        if(container.is('.show_mobile_menu')) 
            {
    	    hide_menu(e);
    	}
    	else
           {
    	    win.scrollTop(0);
    	    mobile_advanced.css({display:'block'});
                setTimeout(function(){container.addClass('show_mobile_menu'); },10);
    	    set_height()
                e.preventDefault();
    	}
    	return false;
    };
    

    Let us know if this was helpful.

    Best regards,
    Victoria

    • This reply was modified 7 years, 8 months ago by Victoria.
    #767098

    Awesome!
    It worked, thank you so much for your help.

    #767152

    Hi,

    Glad we could help :)

    Best regards,
    Nikko

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Mobile Menu keep closing’ is closed to new replies.