diff --git a/packages/client/src/render/screenRouter.js b/packages/client/src/render/screenRouter.js index 0a49533493..e212539de9 100644 --- a/packages/client/src/render/screenRouter.js +++ b/packages/client/src/render/screenRouter.js @@ -42,7 +42,11 @@ export const screenRouter = (screens, onScreenSelected) => { onScreenSelected(screens[fallback], store, _url) } - !url.state && history.pushState(_url, null, _url) + try { + !url.state && history.pushState(_url, null, _url) + } catch (_) { + // ignoring an exception here as the builder runs an iframe, which does not like this + } } function click(e) {