Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framer Motion exit/initial animations fail on Partial Prerendering #63785

Open
LawJolla opened this issue Mar 27, 2024 · 1 comment
Open

Framer Motion exit/initial animations fail on Partial Prerendering #63785

LawJolla opened this issue Mar 27, 2024 · 1 comment
Labels
bug Issue was opened via the bug report template.

Comments

@LawJolla
Copy link

LawJolla commented Mar 27, 2024

Link to the code that reproduces this issue

Codesandbox

To Reproduce

  1. Start the dev server
  2. Go to / route
  3. Click "next" button on page multiple times

Current vs. Expected behavior

Expect the exit and initial animations to work. It works properly if partial prerendering is turned off or in the pages directory. (see /noPPR)

Should work as in /noPPR

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.11.1
  npm: 10.2.4
  Yarn: 1.22.19
  pnpm: 8.15.4
Relevant Packages:
  next: 14.2.0-canary.45 // Latest available version is detected (14.2.0-canary.45).
  eslint-config-next: 14.1.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

App Router

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

No response

@LawJolla LawJolla added the bug Issue was opened via the bug report template. label Mar 27, 2024
@godavdev
Copy link

godavdev commented Apr 6, 2024

Having this problem too, I guess we'll have to stay with next.js 14 for a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

2 participants