When using an onClick within the primary action has stopped working. This has broken navigation in my app in production where it was previously working.
When using onClick like this it’s not working when it previously was. The following is an example using alert but I’m actually using this for navigate() within my app.
Hi @darcyvoutt, we also just ran into the same issue and the buttons now don’t do anything and are unresponsive.
On some devices where possibly a cached version of app bridge was still present, it works just fine and when loaded fresh / in incognito it stops working altogether.
Hopefully someone from Shopify’s able to have this checked and resolved.
Thanks for confirming, thought maybe it was just myself. I ended up implementing a workaround with an action button outside of the slots, but it’s not the ideal UX.
The issue seems to have originated in the latest version of the Chrome browser; in previous versions, it was working. I’ve tested in Safari and Firefox, and the buttons work flawlessly. The hack above works, but waiting for a proper solution.