Hi,
I’m building a Shopify embedded app and I’m trying to use the App Bridge UI modal with variant="max" and a src pointing to one of my app routes.
The behavior I’m seeing:
-
The modal opens and loads the route inside it.
-
But when the modal content loads, my app re-renders inside the modal.
-
After that, the app crashes.
Has anyone successfully implemented a max modal form with src in an embedded app?
What is the correct way to handle routing so the modal doesn’t cause a re-render/crash?
Any example, guidance, or best practices would be much appreciated ![]()
Thanks in advance!