Skip to content

Releases: Etesam913/react-magic-motion

Bugfix for context provider

23 Nov 05:08
Compare
Choose a tag to compare

✨ Overview

  • Resolved #17
  • This release help to mitigate the number of instances where #3 occurs

<MagicExit> component & ForwardRef bugfix

08 Nov 04:56
Compare
Choose a tag to compare

✨ Overview

  • The new <MagicExit> tag is an easier api to add exit animations to items that are conditionally rendered in the <MagicMotion> tag

  • There was a nasty bug where you would get something like the below:

    • [object Object] tag name
  • 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

Fix bug with <MagicTabSelect> not animating

29 Oct 18:31
Compare
Choose a tag to compare

Honor prefers-reduced-motion user setting for accessibility

27 Oct 04:59
Compare
Choose a tag to compare
  • Added support for the reduced motion accessibility property in the <MagicMotion> and <MagicTabSelect> components
  • Added a disabled prop to the <MagicTabSelect> component

Example

prefers-reduced-motion-demo.mp4

#5