First click of custom burger icon not animating on iPhone

Hey! I created a custom animated burger icon using interactions within a default navbar symbol but for some reason the first click is not changing the icon state when viewed on my phone.

The weird thing is that It appears to work fine when I tested it from my laptop in Webflow preview mode across device breakpoints, and even when inspecting different devices on Google Chrome.

But when i view the live site on my iPhone 5SE clicking the burger icon triggers the dropdown menu but the burger icon doesn’t change. Clicking again to close the menu does trigger the burger icon to change. It appears the first click isn’t being recognised but I cannot recreate this in preview mode within webflow.

Can anyone help?

Here is the live site to view on your phone https://www.bestofproducthunt.com

Here is my public share link to the Webflow project: https://preview.webflow.com/preview/best-of-product-hunt?utm_medium=preview_link&utm_source=designer&utm_content=best-of-product-hunt&preview=2eb18022a23e16757a2dee32d2da2c14&pageId=5e0787eaed2a271f586ef112&mode=preview

Hi @dnlbtlr

It looks like you have an issue with your interaction - you should open it up and play around with the options that tlk about which elements each step affects - you should be using some sort of “class effect” option - and don’t use the “affect trigger” option - I can’t really test it out since i can’t publish the site and it all works in preview but I do think its some type of issue there… also if you have any elements of the interactions that you are not using, remove them…

1 Like

I’m experimenting on a test page here https://preview.webflow.com/preview/hamburger-button-clone?utm_medium=preview_link&utm_source=designer&utm_content=hamburger-button-clone&preview=c79917068fe51d966e319123476dc9d2&pageId=5e0e18a46de938416c28353f&mode=preview

I’ve used another animated burger icon and dropped it into the default nav symbol. This has recreated my issue of the animated burger icon not triggering on first click - though it appears to work fine in preview mode, it is not once live and viewed on iphone. Can you offer any advice?

Hi, @dnlbtlr!

Lately, we discovered an issue with the click interactions on the navbar element that exists on iOS 13 devices. While our engineers are working on the solution, could you, please use the Navbar open/close trigger to animate your custom hamburger icon, instead of the Click trigger. It should help to resolve the problem you are experiencing.

Respectfully,
Anna

That worked! thanks Sabanna! (it was driving me nuts! :upside_down_face:)

1 Like