Why is the onItemClick event still not working on a ProGallery… I searched for this and found issues being reported back in 2018 and 2019.
This is WixEditor not Studio.
Something changed in the last few months such that If I load an older client site (that worked) the elements on the right hand side in the Editor allowed you to specify a function name against a trigger e.g. onItemClicked called ItemClicked(). This function was then triggered. Worked just fine even today. On loading the site though as a consequence of changes in the Editor you get an Amber ! icon against the function name in the Editor and are advised to upgrade it to the more straight forward trigger convention, so a function name no longer is required. Instead you get…
$w(‘#proGallery1’).onItemClicked((event) => { etc })
in the code. No problem. If it worked. It now never fires.
I have read the articles and help and mostly it seems the advice is to not use ProGallery… really ??
a bit frustrated at the mo as it’s broken a number of sites.
Any help appreciated even if it is to move away from Pro.
thanks