Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run StackBlitz examples in Firefox #296

Open
Mathieu-COSYNS opened this issue Oct 28, 2024 · 0 comments
Open

Unable to run StackBlitz examples in Firefox #296

Mathieu-COSYNS opened this issue Oct 28, 2024 · 0 comments

Comments

@Mathieu-COSYNS
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant