UNPKG

@monterosa/react-native-parallax-scroll

Version:
53 lines (27 loc) 1.25 kB
# Changelog All notable changes to this project will be documented in this file. ### 1.8.0 - 2018-04-14 #### Added * `renderBackgroundPlaceholder` prop for overriding default behaviour to layer things in between foreground and background (#23) ### 1.7.0 - 2018-04-12 #### Added * `backgroundScale` and `backgroundScaleOrigin` props for support scaling from the top and make scale factor configurable (#22) ### 1.6.0 - 2018-04-05 #### Fixed * Based on the Component, instead of PureComponent ### 1.5.4 - 2018-03-03 #### Fixed * header translateY when header is fixed and `headerFixedTransformY` is too big ### 1.5.3 - 2018-02-14 #### Fixed * issues #17, #18 - fatal error when `scrollableComponent` prop is missing ### 1.5.2 - 2018-02-11 #### Fixed * issue #15 - scroll to top if scrollableComponent is not Animatable ### 1.5.1 - 2017-12-01 #### Fixed * onHeaderFixed - Header interpolation when parallxHeight === headerHeight ### 1.5.0 - 2017-11-06 #### Added * onHeaderFixed - A callback function that is invoked when the header will attach to the top * headerFixedTransformY - This number indicating how much the fixed header should move upwards during the scroll. Used as the hack to change fixed header height during scroll