We’re using the wixWindowFrontend.openModal function to open a URL from a different site in our Wix website.
It takes a few seconds for the URL to load, so it would be great to be able to show a loader until that happens.
Here’s a GIF showing what happens when we call the function:
As you can see, a loader appears but that one is from the URL we’re opening. Until that URL is loaded, the user just sees an empty gray modal, which might be confusing.
Thanks in advance for your help!