router
router copied to clipboard
Can't override defaultViewTransition
Describe the bug
After configuring router with defaultViewTransition: true, using navigate or Link with viewTransition: false doesn't disable transition
Your Example Website or App
https://stackblitz.com/edit/github-g4ctdl?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
- Click About link, route change is transitioned correctly
- Click Home link, route change is transitioned but shouldn't
Expected behavior
Using Link or navigate with viewTransition: false should override defaultViewTransition and disable transition when changing route
Screenshots or Videos
No response
Platform
- OS: Windows 11 (WSL)
- Browser: Microsoft Edge
- Version: 123
Additional context
No response