-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Throws Error with Astro View Transitions in Firefox #348
Comments
Do you have the same error if you remove Lenis ? It doesn't seems to be related with Lenis at all. |
@clementroche Nope. I don't get the same error if I remove Lenis. I have put a minimal repo too if you would like to test it out. There is no error if I remove View Transitions too. There seems to be some issue with astro's View Transition but only in firefox |
I can't reproduce your issue using your link on Firefox. Lenis doesn't deal with history or location at all so it might come from your implementation. |
This seems to be in regard to the Astro's View Transition, not Lenis per say. So I should ask the folk at astro for this issue? |
I think so |
I'm closing this issue for lack of activity reasons |
Hi there, The issue seems to be caused by the For more details, please refer to this related issue on the Astro repository: Issue on Astro repo. Link to minimal reproduction of the issue Hope this helps! |
When I use lenis with astro and enable view-transitions I get the following errors in the browser console after scrolling a couple of times :
Too many calls to Location or History APIs within a short timeframe. router.js:8:17
Uncaught DOMException: The operation is insecure.
updateScrollPosition router.js:8
onScrollEnd router.js:409
EventListener.handleEvent* router.js:418
router.js:8
updateScrollPosition router.js:8
onScrollEnd router.js:409
(Async: EventListener.handleEvent)
router.js:418
Minimal Repo
Developer Tools — Astro Framework React Example (forked) - StackBlitz — https://stackblitz.com/edit/github-2hpcon-pl262h?file=src/components/Layout.astro,astro.config.mjs,src/pages/index.astro,package.json - 6 June 2024 - Watch Video
The text was updated successfully, but these errors were encountered: