Home Forums Porto Admin Template Menu does not close on iPad devices

This topic contains 1 reply, has 2 voices, and was last updated by  Support2 2 months, 1 week ago. This post has been viewed 138 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10021001

    smpark
    Participant

    Using either safari or Chrome for iPad when the menu is collapsed and the user taps a icon the entire navigation pane does not extend open and if the user then does not tap on a menu item it will not close. ie the user taps anywhere else on the page. The only way to close the menu is to click on the navigation icon let it expand and then click it again to close.



    Template Version: 1.6
    #10021014

    Support2
    Keymaster

    Hello, thanks for your purchase.

    We fixed this problem now, and will be realeased in the next version of Porto. Sorry about that.
    For now, please add in js/theme.custom.js this code below:

    var isIpad = navigator.userAgent.match(/iPad/i) != null;
    
    $('.header, .page-header, .content-body').on('click', function(){
    	if( isIpad ) {
    		$('html').removeClass('sidebar-left-opened');
    	}
    });

    Please try that and let me know if you need further assistance.

    Kind Regards,

    Rodrigo.


    • This reply was modified 2 months, 1 week ago by  Support2.
    • This reply was modified 2 months, 1 week ago by  Support2.
Viewing 2 posts - 1 through 2 (of 2 total)