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
convertChildrenToMotionChildren
function 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
disabled
prop to the<MagicTabSelect>
component