Show modal popup when a condition is met without any user action (no clicks)

CodingCop
Shopify Partner
3 0 0

In the Shopify Checkout Extensions, the address needs to be scrubbed and if a correction is found, a modal popup should be displayed with the correct address. I referred to the documentation at:

https://shopify.dev/docs/api/checkout-ui-extensions/unstable/components/overlays/modal

 

but this example requires user action (click a link, pressable or a button). With my requirement I need to open the modal popup through code. I am unable to find any relevant documentation online.

Please Help.

Replies 0 (0)