We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Router
After following the Quick Start for Solid-Router docs
and adding this line to vite.config.js file (autoCodeSplitting)
vite.config.js
TanStackRouterVite({ target: 'solid', autoCodeSplitting: true }),
default View Transitions stop working. Exactly the same setup but with React works fine.
working React example: https://stackblitz.com/edit/tanstack-router-a9utvecb?file=src%2Froutes%2Findex.tsx,src%2Froutes%2Fabout.tsx,src%2Fmain.tsx,vite.config.js&preset=node
video of working React example (element animates into the next page):
same setup, Solid JS (no animation, only default fade out/in):
Current workaround to get view transitions working is to comment out/remove autoCodeSplitting: true
autoCodeSplitting: true
https://stackblitz.com/edit/tanstack-router-hwsymfma?file=vite.config.js
defaultViewTransition: true
view-transition-name
I expect elements that share the same view-transition-name to animate on page change
No response
I asked on DS. Manuel found a workaround and asked to create an issue Thread ID: 1348781115850096741
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which project does this relate to?
Router
Describe the bug
After following the Quick Start for Solid-Router docs
and adding this line to
vite.config.js
file (autoCodeSplitting)default View Transitions stop working.
Exactly the same setup but with React works fine.
working React example: https://stackblitz.com/edit/tanstack-router-a9utvecb?file=src%2Froutes%2Findex.tsx,src%2Froutes%2Fabout.tsx,src%2Fmain.tsx,vite.config.js&preset=node
video of working React example (element animates into the next page):
react-router-transitions.mov
same setup, Solid JS (no animation, only default fade out/in):
solid-issue.mov
Current workaround to get view transitions working is to comment out/remove
autoCodeSplitting: true
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-hwsymfma?file=vite.config.js
Steps to Reproduce the Bug or Issue
defaultViewTransition: true
on the Routerview-transition-name
Expected behavior
I expect elements that share the same
view-transition-name
to animate on page changereact-router-transitions.mov
Screenshots or Videos
No response
Platform
Additional context
I asked on DS. Manuel found a workaround and asked to create an issue
Thread ID: 1348781115850096741
The text was updated successfully, but these errors were encountered: