Menu does not close on iPad devices

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

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 6 years, 10 months ago by Support2.
    • This reply was modified 6 years, 10 months ago by Support2.
Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.