next-view-transitions
next-view-transitions copied to clipboard
Use CSS View Transitions API in Next.js App Router.
Steps to reproduce: Click "Go to / demo" and "Open homepage" back and forth a dozen times. Then hit the browser's back navigation button, rapidly, a dozen times. If it...
# Why Fixes https://github.com/shuding/next-view-transitions/issues/7 [A previous PR](https://github.com/shuding/next-view-transitions/pull/8) tried to fix the client-side exception but broke the browser's back-forward animation. This PR tries to solve the client-side exception while keeping the...
Could you kindly create a new release on NPM that includes https://github.com/shuding/next-view-transitions/pull/6? Thank you!
Love this! Do you think it's possible to use both next-view-transitions and [nextjs13-progress](https://github.com/designly1/nextjs13-progress) together? I just switched to next-view-transitions and even though I love how it works on my site,...
Added window.removeEventListener('popstate', onPopState); in src/browser-native-events.ts to deal with issus#7
When I test the component using (imported from `next-view-transition`), it shows this error: > Error: Cannot find module 'my-project/node_modules/.pnpm/[email protected][email protected]_@[email protected]_@[email protected]_react-dom_ij7rotrze5kexwddyuvkazu2ry/node_modules/next/link' imported from my-project/node_modules/.pnpm/[email protected][email protected]_@[email protected]_@[email protected]_react-dom_ij7rotrze5kexwddyuvkazu2ry/node_modules/next-view-transitions/dist/index.js Did you mean to import [email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/link.js? ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized...
When I wrap my app in ``, `scrollRestoration` stops working. When navigating to a page and back, the page is always scrolled to the top.
Fix: Page Freeze Issue When Using Back/Forward of Browser History with Query Parameter Only Changes
> Fix #16 I appreciate your effort in developing this awesome library. By the way, it's pretty simillar change with #19. (it was related with hash, but mine is query...
Fix https://github.com/shuding/next-view-transitions/issues/16. ## Before https://github.com/shuding/next-view-transitions/assets/45930107/c7a9b4cd-554e-4926-afe2-d8a60c66bf57 ## After https://github.com/shuding/next-view-transitions/assets/45930107/310ccc42-d0e2-45f8-9c44-000326ddb786