Issue: s-modal doesn't reflect state changes after it's open

Issue: s-modal doesn’t reflect state changes after it’s opened.

Target: purchase.thank-you.block.render

Api version: “2026-04”

We open a modal via command="--show" showing a loading state, fetch data from the API, then update state to show the returned data. The state changes aren’t reflected inside the open s-modal — the content stays frozen at open-time.

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!