You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using AnimatePresence with elements that have a layoutId, the components blink upon entering and exiting. The expected smooth transition is interrupted by a sudden change in opacity, making the components momentarily disappear or flash.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
Open the provided CodeSandbox link.
Click on any item to select it and trigger the animation.
Notice the blinking as the selected item enters or exits the view.
5. Expected behavior
The expected behavior is a smooth transition for components entering and exiting without any blinking. Elements with layoutId should animate their layout changes seamlessly under AnimatePresence.
1. Read the FAQs馃憞
2. Describe the bug
When using AnimatePresence with elements that have a layoutId, the components blink upon entering and exiting. The expected smooth transition is interrupted by a sudden change in opacity, making the components momentarily disappear or flash.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/sandbox/frosty-fast-dc5lt8?file=%2Fsrc%2FApp.tsx
4. Steps to reproduce
To observe the behavior:
Open the provided CodeSandbox link.
Click on any item to select it and trigger the animation.
Notice the blinking as the selected item enters or exits the view.
5. Expected behavior
The expected behavior is a smooth transition for components entering and exiting without any blinking. Elements with layoutId should animate their layout changes seamlessly under AnimatePresence.
6. Video or screenshots
blinkingissue.mp4
7. Environment details
OS: macOS 13.0
Browser: Chrome 123.0.6312.105
Framer Motion version: 11.0.25
The text was updated successfully, but these errors were encountered: