React Aria Popover with Framer Motion #7170
-
When using I tried following the Modal example described here without any luck: https://react-spectrum.adobe.com/react-aria/styling.html#framer-motion. Here’s a sandbox for reference: https://codesandbox.io/p/sandbox/lkqfq2. Any ideas on how to make it work with Framer Motion? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, sorry for the delay, I'm not seeing any of the styles correctly in the sandbox. I also assume you meant to use All of that aside, have you tried this with the Here's a working example https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html |
Beta Was this translation helpful? Give feedback.
Hey, sorry for the delay, I'm not seeing any of the styles correctly in the sandbox. I also assume you meant to use
Button
, notbutton
in it for the trigger?All of that aside, have you tried this with the
Modal
andModalOverlay
's directly as shown in the example you linked? That may give you more of the control necessary to do this.Here's a working example https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html