You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At SvelteLab we use the webcontainer api package to run a Sveltekit project in the browser. Given that sometimes it's necessary to open the project in another tab we added this ability to our UI.
But sometimes if I try to open in the new tab I get prompted with the need to connect this tab to a StackBlitz project which obviously does not exist since is not a project generated in stackblitz.
Try to open the preview in another tab (notice this doesn't happen always...it seems to be more usual with Firefox but I was not able to find a reliable reproduction)
Expected behavior
Opening in another tab should display the preview without asking to connect to a StackBlitz project. If the "connect" is needed for some reason developers that uses the webcontainer api package should be able to let the preview connect to their project instead.
Hi @paoloricciuti ! I think you are facing the same issue that was reported here: #1025
To summarize, previews in a separate tab do not work on Firefox nor Safari because of storage partitioning. We're currently looking at our options to have a solution that is simple to implement for @webcontainer/api users.
Describe the bug
At SvelteLab we use the webcontainer api package to run a Sveltekit project in the browser. Given that sometimes it's necessary to open the project in another tab we added this ability to our UI.
But sometimes if I try to open in the new tab I get prompted with the need to connect this tab to a StackBlitz project which obviously does not exist since is not a project generated in stackblitz.
Link to the blitz that caused the error
Steps to reproduce
Expected behavior
Opening in another tab should display the preview without asking to connect to a StackBlitz project. If the "connect" is needed for some reason developers that uses the webcontainer api package should be able to let the preview connect to their project instead.
Parity with Local
Screenshots
No response
Platform
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: