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

A glitch when used on SvelteKit #240

Closed
2 tasks done
vigneshksaithal opened this issue Dec 1, 2023 · 1 comment
Closed
2 tasks done

A glitch when used on SvelteKit #240

vigneshksaithal opened this issue Dec 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@vigneshksaithal
Copy link

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

A glitch appears when page using auth-ui is refreshed (see below video) in SvelteKit (SSR + PreRender mode).
For reference you can visit https://riju.ai/signin and refresh the page to see in action.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Create a SvelteKit app and install supabase auth-ui.
  2. Add auth-ui and set prerender to true.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

Screen.Recording.2023-12-01.at.9.56.54.PM.mov

System information

  • OS: MacOS
  • Browser Chrome, Safari
  • Version of supabase-js: 2.39.0
  • "@supabase/auth-ui-shared": "^0.1.8",
  • "@supabase/auth-ui-svelte": "^0.2.8",
  • Version of Node.js: 21.2.0
@vigneshksaithal
Copy link
Author

Duplicate of #230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant