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

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.

@CodingCop Did you figure this out? I am trying to do this as well.

I’m afraid this is not possible. I stumbled upon the same issue right now and found this: https://github.com/Shopify/ui-extensions/issues/2061#issuecomment-2176750475

This is a reply from one of Shopify employees, they might consider it in after purchase steps but not in the checkout itself.