tanstack.com icon indicating copy to clipboard operation
tanstack.com copied to clipboard

Unable to run StackBlitz examples in Firefox

Open Mathieu-COSYNS opened this issue 1 year ago • 0 comments

I am running Firefox 131.0.3 on my Windows 11 computer. When I go to a example page, I cannot run the example.

For example when I go to https://tanstack.com/query/latest/docs/framework/react/examples/simple, I see this page:

Image

As you can see in the image above the preview window says "Unable to run Embedded Project". According to StackBlitz documentation https://developer.stackblitz.com/platform/webcontainers/browser-support#embedding embedding are only supported in Chromium-based browsers.

Best solution: Use another service that support Firefox.

If not possible I can still click on the link above : Image (https://stackblitz.com/github/tanstack/query/tree/main/examples/react/simple?embed=1&theme=dark&preset=node&file=src/index.tsx) but because in the url query parameters embed=1 in a new tab I see this message:

Image

If i manually remove embed=1 (=> https://stackblitz.com/github/tanstack/query/tree/main/examples/react/simple?theme=dark&preset=node&file=src/index.tsx) then the stackblitz environment load properly.

Alternative solution: remove embed=1 from the link near the title and only add embed=1 for the iframe below.

Mathieu-COSYNS avatar Oct 28 '24 16:10 Mathieu-COSYNS