motion icon indicating copy to clipboard operation
motion copied to clipboard

ref prop does not work on div directly inside AnimatePresence with mode="popLayout" [BUG]

Open saltnpixels opened this issue 10 months ago • 1 comments

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.

saltnpixels avatar Apr 01 '24 19:04 saltnpixels

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

leonsbuddydave avatar Apr 15 '24 20:04 leonsbuddydave