Mobile Menu requires long click on chrome on android

Comments

2 comments

  • Avatar
    luke bullock

    I have the same issue, did you get this sorted?

    0
    Comment actions Permalink
  • Avatar
    david

    vendor/magento/magento2-base/lib/web/mage/menu.js needs a fix. You can download a fixed version at https://bsdadmin.com/downloads/menu.js

     

    Take a look at lines starting at 440

    //                    if (!target.hasClass('level-top') || !target.has('.ui-menu').length) {
    //                        window.location.href = target.find('> a').attr('href');
    //                    }
    // DAS 20221218 Fixed Menu on Android                  
                        if (!target.hasClass('level-top') || !target.has('.ui-menu').length) {
                            window.location.href = target.find('> a').attr('href');
                        } else {
                            this.select(event);
                            // Open submenu on click
                            if (target.has('.ui-menu').length) {
                                this.expand(event);
                            }
                        }

     

    1
    Comment actions Permalink

Please sign in to leave a comment.