navneetsharmaui / sveltekit-starter

Sveltekit starter project created with sveltekit, typescript, tailwindcss, postcss, husky, and storybook. The project has the structure set up for the scaleable web application.
https://sveltekit-starter-one.vercel.app
MIT License
609 stars 100 forks source link

Error with transition fade/blur when page is not reloaded @Home #33

Closed dagthomas closed 2 years ago

dagthomas commented 2 years ago

Describe the bug Fade transition with blur only works if you refresh the page @home, and not the other routes.

To Reproduce Steps to reproduce the behavior:

  1. Go to another page than Home and click refresh -
  2. Click on another page than Home (no fade)
  3. Click on @Home
  4. Fade works again

Expected behavior Expect transition with blur to work no matter what the start page is.

Desktop (please complete the following information):

navneetsharmaui commented 2 years ago

@dagthomas The issue is related to how sveltekit itself works. You might notice that if refresh on a page other than home, and go to other page the application whole application will reload until you got to home and come back. I will keep this issue open for now.

github-actions[bot] commented 2 years ago

Stale issue message