Skip to content

Releases: choozn/react-parallax-mouse

Stable Version 2.1.0

10 Nov 15:45
Compare
Choose a tag to compare

Changelog

→ Update react-spring

Update react-spring to newer version. This fixes #34.

Stable Version 2.0.1

27 Oct 23:12
Compare
Choose a tag to compare

Changelog

→ Switch to react-spring

This version finally switches to react-spring instead of relying on react-motion. This fixes all problems related to react-motion (#24 #28) and leads to various other improvements.

→ End of support for middleware functions

Middleware functions as updateStyles won't be supported anymore in favor of the new useParallaxOffset hook.

→ Renaming of some props

  • containerStyles of MouseParallaxContainer is now named containerStyle.
  • updateStyles of MouseParallaxChild is now named style.
  • springConfig of MouseParallaxChild can now be found on the MouseParallaxContainer.

Stable Version 1.7.0

07 May 08:08
Compare
Choose a tag to compare

Changelog

→ Support for React 18.x

This version upgrades to a custom fork of react-motion (https://github.com/choozn/react-motion - react-motion-prefixed on npm).
This removes the warning in the console for dev builds in React 17.x (#7) and allows usage in React 18.x (#23).

Stable Version 1.6.0 | 1.6.1

06 Apr 00:37
Compare
Choose a tag to compare

Changelog

→ Performance

Fixed animations in certain browsers by making a CSS transition property optional.
This has a significant positive effect on performance. (#8)

Stable Version 1.5.1

10 Jan 17:41
Compare
Choose a tag to compare

Changelog

Minimal Performance Fix

→ Performance

Fixed removeEventListener call to prevent stacked Event Listeners.

Stable Version 1.5.0

08 Jan 15:49
Compare
Choose a tag to compare

Changelog

Introduced the new enabled prop on the MouseParallaxContainer.

→ Performance

Prevented unnecessary renders when disabling the effect. (happened before when using a workaround by setting the factors to 0, as event listeners were still assigned) → Now fixed by introducing the new prop enabled.

Stable Version 1.4.2

25 Dec 22:18
Compare
Choose a tag to compare

Changelog

→ Performance

Fix for recent Performance Update.

Stable Version 1.4.1

13 Dec 21:13
Compare
Choose a tag to compare

Changelog

→ Performance

Fix for recent Performance Update.

Stable Version 1.4.0

03 Dec 22:54
Compare
Choose a tag to compare

Changelog

→ Performance

Prevented unnecessary CSS attributes and renders.

→ Flexibility

Added support for non MouseParallaxChild children in the MouseParallaxContainer.

Stable Version 1.3.1

21 Nov 10:22
Compare
Choose a tag to compare

Changelog

→ Compatibility

Added prefixed CSS attributes (such as -webkit-transform) to support older browsers, as mentioned in issue #2.