Sign in

Click event not working on an Ipad

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #2587
    Avatar photoVerhoeckx

    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?


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

    Avatar photoBob

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

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    Avatar photoVerhoeckx

    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.

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