Add preventDefault() function to JS

Use case: create my own product gallery and mimic the Quickview button that seats on top of the image from the default Store gallery.

The image itself has an onClick and thus when the Quickview button is clicked, the onCLick on the image also triggers.

Hi,

Thank you for your feedback.
Currently, you can create a product gallery with a Repeater, connected to your store collection (database). We currently don’t support preventDefault(), but have shared it with our team to consider.