Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Click event not working on an Ipad

  • #2587
    Avatar photo[anonymous]

    Hello Publii developers,

    I created a website with the new Taste theme and I have one problem:

    When you view the website on an iPad (iOS 9.3.5) and click on the hamburger menu the sidebar menu is not shown.

    I tried the following solutions (found on the internet) but none of them worked:

    • Adding onclick=”void(0)” or onclick=”return true” to the button element.
    • Adding document.addEventListener(“touchstart”, function(){}, true) to head of the web page.

    I didn’t have to add the CSS ‘cursor: pointer’ to the button because this was already added by the theme.

    Does anybody have another idea/solution?

    Verhoeckx

    ps. I see that the hamburger menu on this website (getpublii.com) also doesn’t work on the ipad (iOS 9.3.5).

    #2622
    Avatar photoBob

    I can’t reproduce this issue, so it’s hard to say why it doesn’t work for you.

    #2625
    Avatar photo[anonymous]

    I tested it on two iPads:

    • It doesn’t work on a iPad with iOS 9.3.5.
    • It does work on a iPad with iOS 12.4.5.

    The good news is that I built the website for my brother and he doesn’t care that it doesn’t work on iOS 9.3.5. Problem solved :-).

    ps. I can’t debug it either because I don’t have a MAC computer.