promplate / pyth-on-line

Online Python IDE with built-in Copilot
https://py3.online/about
5 stars 4 forks source link

[workspace] the `container` element is not in the DOM #35

Open CNSeniorious000 opened 3 months ago

CNSeniorious000 commented 3 months ago

Reproduction

  1. Adding this line into Console.svelte:
$: container && console.assert(document.body.contains(container), "Container must be in the document body");
  1. Open /playground or any page with workspace view
  2. Save console/* / workspace/* to trigger HMR
  3. Look into the console, there should be an error message
CNSeniorious000 commented 3 months ago

Related to https://github.com/sveltejs/svelte/issues/12769