Releases: oblador/react-native-parallax
Releases · oblador/react-native-parallax
0.3.0
Breaking change: Splits imports between React and React Native to fix warnings in RN 0.25, ensure you're on at least RN 0.18 and have react
as a dependency in your project.
0.2.2
- Fixes bug where parallax effect would break if an
onScroll
prop was passed to the Parallax.ScrollView
.
- Exposes
getScrollResponder
function that enables programmatically scrolling the ScrollView.
- Fixes
cloneWithProps
deprecated warning.
0.2.1
- Fixes a bug when having only one child of the
Parallax.ScrollView
would throw.
- Only requires the few parts of lodash this module actually uses, which reduces bundle size/memory usage.
0.2.0
Breaking changes:
- Custom styling of the underlying
Animated.Image
is no longer extracted from the style
prop, use imageStyle
instead.
Parallax.Image
must now be direct descendant of Parallax.ScrollView
to be able to inject scrollY
automatically. Use onPress
if you need to detect taps or use the (old and deprecated) mixin approach.
Other changes:
- Support for ES6.
Parallax.Mixin
is deprecated, use Parallax.ScrollView
instead.