motion
motion copied to clipboard
ref prop does not work on div directly inside AnimatePresence with mode="popLayout" [BUG]
1. Read the FAQs 👇
2. Describe the bug ref prop does not work on the div directly inside AnimatePresence with mode="popLayout" The ref always comes back undefined.
Seeing this same issue with a motion.video
inside of AnimatePresence
; the ref callback is never called. Setting mode
to sync
correctly sets the ref.
EDIT: This is on 11.0.6