Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Double Tap for Mega Menu on iPadOS

  • phantom.berlin

    Dear team,

    I have noticed the behavior of having to double tap on a menu link in a mega menu when using the iPad. The off canvas menu is fine, but in landscape it is the “normal” desktop one and the links have to be tapped twice before they open.

    That being said, it seems this is only the case when the setup is menu point, category and subcategory. Another mega menu with just menu point and categories seems fine (problem with: News > World > Stuff needs double tap, News > Stuff works). Can that be altered?

    Thanks a lot!

  • Hi there,

    Can I check the issue on your site?

  • phantom.berlin

    Hi Ying,

    sure thing!

  • I can not test, I tried with my iPad, but it’s not wide enough to see the mega menu in landscape mode.

    I’m not sure if it’s related, can you try disabling the mobile sticky navigation to test?

  • phantom.berlin

    I see. I set the breakpoint to 400px, so it should also work on smaller iPads. 🙂

    I tested sticky navigation, but not difference.

  • Thanks for that, I tested with a regular iPad, but I didn’t see the issue, everything opens on 1st tap.

    I tried every sub-sub-menu/sub-sub-sub-menu of Kategorien.

  • phantom.berlin

    Hello Ying,

    that is strange. I tested on every iPad I could find, from older ones with iPadOS 17 to newer with iPadOS 18 with M1 chip. The behavior is (also when blind tested with others) as I described: two taps are necessary. I attached a video to make sure we talk about the same thing.

  • I asked other staff to test it on an iPad, and David confirmed that he can see the issue too.

    It is a tricky issue, we noticed that the Kategorien has several child LIs, eg. TECHNIK has a link, followed by a UL, can you try removing the link from TECHNIK to test?

  • phantom.berlin

    Thanks for testing!

    I tried everything you said and also created some AI code but nothing would work. Then I changed the “Navigation Dropdown” option to “Click – Menu Item” > problem solved 🙂 That hover won’t work on desktop is not so important.

    There is one problem still though: for the mega menu on desktop, the hover still seems active for the menu points (“Kategorien”). After clicking the background changes. But I would hope this is much easier to solve?

  • Great!

    You have this CSS:

    nav .main-nav .mega-menu.mega-menu-col-5> ul {
        display: grid !important;
        grid-template-columns: repeat(4, 250px);
        justify-content: center;
    }

    Change it to:

    nav .main-nav .mega-menu.mega-menu-col-5.sfHover> ul {
        display: grid !important;
        grid-template-columns: repeat(4, 250px);
        justify-content: center;
    }
  • phantom.berlin

    That leads to the behavior that all menu points are on the left side in one column.

  • Missed one CSS, change this CSS:

    @media (min-width: 769px) {
        nav .main-nav .mega-menu> ul {
            position: absolute;
            width: 100%;
            left: 0 !important;
            display: flex;
            flex-wrap: wrap;
        }
    }

    to:

    @media (min-width: 769px) {
        nav .main-nav .mega-menu.sfHover > ul {
            position: absolute;
            width: 100%;
            left: 0 !important;
            display: flex;
            flex-wrap: wrap;
        }
    }
  • phantom.berlin

    Aweseome! That works fine, thank you so much!

  • phantom.berlin

    I now found that the link of top categories in the mega menu is not clickable. If that is expected behavior then it is fine I will then just remove all the links and just use it as headline

  • Can you link me to the site again so I can take another look?

  • phantom.berlin

    Sure, sorry

Viewing 16 posts - 1 through 16 (of 19 total)
  • You must be logged in to reply to this topic.