kit icon indicating copy to clipboard operation
kit copied to clipboard

Error in dark mode handling in tutorial

Open kuechlerm opened this issue 1 year ago • 1 comments

Describe the bug

The tutorial changes the from dark to light mode unexpectedly.

Reproduction

  • goto https://learn.svelte.dev/tutorial/named-form-actions
  • toggle dark mode
  • click "Solve"
  • remove the first todo "Learn SvelteKit"
  • the tutorial output (not the rest of the page) changes to light mode

Logs

No response

System Info

Chrome, Firefox

Severity

annoyance

Additional Information

No response

kuechlerm avatar Feb 06 '24 15:02 kuechlerm

This seems to happen when the use:enhance is not used, and the form submission is handled by the browser.

Also happens in sveltelab.dev

hyunbinseo avatar Feb 07 '24 16:02 hyunbinseo