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
Hopefully I'm just misunderstanding some aspect of the AnimatePresence API, but this was unexpected behavior for me working off the docs for AnimatePresence.
Another interesting behavior: this staling effect seems to flush once the original item has exited, and subsequent exits will remove stale items as well.
Hopefully I'm just misunderstanding some aspect of the
AnimatePresence
API, but this was unexpected behavior for me working off the docs forAnimatePresence
.1. Read the FAQs 馃憞
Done
2. Describe the bug
AnimatePresence
item is never unmounted if its exit is started during the animation of another item.3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
Code Sandbox
4. Steps to reproduce
5. Expected behavior
I expect all items to be removed from the DOM. To produce the expected behavior:
6. Video or screenshots
Bug
Any items removed during the exit animation fail to be completely removed
Working
Each item animates out if the previous removal completes
7. Environment details
Tested in Firefox. Dependencies are in the sandbox.
The text was updated successfully, but these errors were encountered: