Hey @lukasbil - thanks for flagging this.
I did a bit of testing here and haven’t yet been able to reproduce what you’re describing. To pin down what’s different about your setup, could you share:
- A stripped-down version of the component that still shows the problem (the smaller the better, ideally something I can drop straight into an extension)
- Your exact @shopify/ui-extensions version from package.json
- How you fetch the data: the shopify.query() helper, a raw fetch() to the Storefront API, or a call to your own backend
- A short screen recording of the modal staying frozen after the state change
With those I can try to match your setup, reproduce and figure out what the root cause of the issue is. There’s also a related thread where re-rendering the modal after it hides worked (at one point) around a similar freeze, if you want something to explore as a possible workaround in the meantime:
Thanks!