- Added prop to change interpolated Scale Output Value
- Now uses native driver, and tested with React Native 0.46.0
- Adds
useNativeDriver
to improve performance, but renderScrollComponent must be a Animated component ( ie: Animated.createAnimatedComponent(component))
- Fixes compatibility with React Native 0.27.2
- Adds
contentContainerStyle
prop to style scroll container (thanks @alaycock
- Fixes error when inspecting the sticky header due to cyclical object structure
on
style
(#23)
- Breaking: Removes
ParallaxScrollView#scrollWithoutAnimationTo
since this has been deprecated in React Native. If you used this method previously, usescrollTo
instead. - Adds
ParallaxScrollView#getScrollableNode
method, which is required in React Native 0.20.0 for components implementingScrollView
interface.
- The background now fades out in the same manner as the foreground. Thanks @generalChaos for the PR.
- Allows
renderFixedHeader
to be used without providingrenderStickyHeader
andstickyHeaderHeight
.
- Adds optional
fadeOutForeground
property that can be set to false to disable fading out of the foreground.
- Breaking:
renderParallaxHeader
is nowrenderForeground
, and now scrolls with the same speed as scroll content. - Refactored parallax header calculations to keep their scroll speeds consistent with user scroll speed.
- Parallax effect is now calculated using the
backgroundSpeed
prop.