-
Notifications
You must be signed in to change notification settings - Fork 1
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
Nextjs route change gives error #1
Comments
Hi! Do you get the error during production or when running locally? |
I got it only when running locally in dev mode, but what I do get in production and during dev is the animation stops playing when I focus/click on an input element or when I click in my dev tools. So somehow when the focus is somewhere else it stops playing. |
That's by design – to keep the animation from using CPU when the browser window isn't active. Input elements should maybe be excluded from this behavior, though. 🤔 I'll probably add it in the next update. 😇 |
The error message, by the way, is common when using Lit-based web components with React in dev-mode. It's caused by the extra re-renders React does when in dev-mode. |
Version 3 out now, without Lit – so without this issue 😎 |
Hello,
When I use the player in two different pages:
/login
and/signup
I get the following error when going from one page to the other:The component im using looks like this:
Do you have any idea how to fix this issue?
The text was updated successfully, but these errors were encountered: