New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] Usage with framer-motion #331
Comments
@kylemh I tweaked your Codesandbox slightly to get it working. Just a little CSS hack to stop the https://codesandbox.io/s/youthful-fermi-vyy7u?file=/src/App.tsx |
Got it. Added a link into the content and I see that's focusable even when the accordion is collapsed. I can probably create a component for the inner AccordionItemPanel content which leverages That's for me to figure out. Thank you! |
Ok cool! Post your update if you can, I wouldn't mind using it if it works well 😀 |
Unfortunately, I couldn't think of a solution that is both accessible and allows for exit animations. I believe it's a shortcoming of the API. Instead, I've opted to replace |
@kylemh no worries, thanks for showing me the alternative you found, looks great! |
I'd like to add animations to an AccordionItemPanel content as it is unexpanded, but it doesn't seem like
<AnimatePresence>
is able to intercept the unmounting.Am I doing something wrong?
https://codesandbox.io/s/sharp-lichterman-io2mv?file=/src/App.tsx
The text was updated successfully, but these errors were encountered: