Ah ah, une nouvelle loufoquerie pour te planter avec les interfaces tactiles : apparemment iOS 13 corrige ce très vieux bug, qui faisait qu’il n’y avait pas d’événement click
si l’objet n’avait pas, grosso modo, de cursor: pointer
.
Alors c’est très bien de corriger le bug, mais du coup : si tu développes avec un iPhone à jour, hé ben tu te rends pas compte que ça ne fonctionne pas sur… tous les autres iPhones, ceux qui n’ont pas encore fait la mise à jour.
jQuery click events not working in iOS - Stack Overflow
▻https://stackoverflow.com/questions/14795944/jquery-click-events-not-working-in-ios
There is an issue with iOS not registering click/touch events bound to elements added after DOM loads.
While PPK has this advice: ▻http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
I’ve found this the easy fix, simply add this to the css:
cursor: pointer;