shuding / next-view-transitions

Use CSS View Transitions API in Next.js App Router.
https://next-view-transitions.vercel.app
MIT License
1.12k stars 32 forks source link

Not working with Link "legacyBehavior" prop #15

Open albertg494 opened 1 month ago

albertg494 commented 1 month ago
import { Link } from 'next-view-transitions'

<Link href={`/next`} passHref legacyBehavior>
  <CustomButton>
      Go to next page
  </CustomButton>
</Link>

The transition is not working when legacyBehavior prop is needed.