Releases: Etesam913/react-magic-motion
Releases · Etesam913/react-magic-motion
Bugfix for context provider
<MagicExit> component & ForwardRef bugfix
✨ Overview
-
The new
<MagicExit>tag is an easier api to add exit animations to items that are conditionally rendered in the<MagicMotion>tag- To see more visit here: https://www.react-magic-motion.com/components/magic-exit
-
There was a nasty bug where you would get something like the below:
-
This happened when the
convertChildrenToMotionChildrenfunction would try to convert a forwardRef component to a motion component. forwardRef is not a valid type for a motion component- A check was added by @zemariagp to fix this bug: #12
Fix bug with <MagicTabSelect> not animating
- The MagicTabSelect component was not animating after the previous release
- This release of the package fixes this
- Check out the docs page to see it working correctly: https://www.react-magic-motion.com/applications/tabs
Honor prefers-reduced-motion user setting for accessibility
- Added support for the reduced motion accessibility property in the
<MagicMotion>and<MagicTabSelect>components - Added a
disabledprop to the<MagicTabSelect>component
![[object Object] tag name](https://private-user-images.githubusercontent.com/55665282/281264848-9887ebbc-6ee8-4dbe-81fc-e4c69caffb7b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzE2OTU4MDMsIm5iZiI6MTc3MTY5NTUwMywicGF0aCI6Ii81NTY2NTI4Mi8yODEyNjQ4NDgtOTg4N2ViYmMtNmVlOC00ZGJlLTgxZmMtZTRjNjljYWZmYjdiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjIxVDE3MzgyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgxMGYxNzkwNzI5YTVkYjQyNDlkZDY5MjFhNDRmZTQzYzQ4MjlhYWI4OTM0NzZjMDZhNGM1NDVhODE3NWVhZjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.0NJj6kO-Rdk7gmKyjou2XArImzh5w2b6O_ikwk_KtN0)