shuding/next-view-transitions

Not working with Link "legacyBehavior" prop

Open

#15 geöffnet am 28. Mai 2024

Auf GitHub ansehen
 (0 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)TypeScript (2.388 Stars) (92 Forks)user submission
enhancementgood first issue

Beschreibung

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.

Contributor Guide