shuding / next-view-transitions

Use CSS View Transitions API in Next.js App Router.

Home Page:https://next-view-transitions.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working with Link "legacyBehavior" prop

albertg494 opened this issue · comments

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.