You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6
Original file line number
Diff line number
Diff line change
@@ -80,10 +80,15 @@ The `ParallaxScrollView` component adds a few additional properties, as describe
80
80
|`renderScrollComponent`|`func`| No | A function with input `props` and outputs a `ScrollView`-like component in which the content is rendered. This is useful if you want to provide your own scrollable component. (See: [https://github.com/exponentjs/react-native-scrollable-mixin](https://github.com/exponentjs/react-native-scrollable-mixin)) (By default, returns a `ScrollView` with the given props) |
81
81
|`renderStickyHeader`|`func`| No | This renders an optional sticky header that will stick to the top of view when parallax header scrolls up. |
82
82
|`stickyHeaderHeight`|`number`| If `renderStickyHeader` is used | If `renderStickyHeader` is set, then its height must be specified. |
83
-
83
+
|`contentContainerStyle`|`object`| No | These styles will be applied to the scroll view content container which wraps all of the child views. (same as for [ScrollView](https://facebook.github.io/react-native/docs/scrollview.html#contentcontainerstyle)) |
84
84
85
85
## Latest changes
86
86
87
+
### 0.19.0
88
+
89
+
- Fixes compatibility with React Native 0.27.2
90
+
- Adds `contentContainerStyle` prop to style scroll container (thanks @alaycock)
91
+
87
92
### 0.18.1
88
93
89
94
- Fixes error when inspecting the sticky header due to cyclical object structure
@@ -94,11 +99,7 @@ The `ParallaxScrollView` component adds a few additional properties, as describe
94
99
-**Breaking:** Removes `ParallaxScrollView#scrollWithoutAnimationTo` since this has been deprecated in React Native. If you used this method previously, use `scrollTo` instead.
95
100
- Adds `ParallaxScrollView#getScrollableNode` method, which is required in React Native 0.20.0 for components implementing
96
101
`ScrollView` interface.
97
-
98
-
### 0.17.4
99
-
100
-
- The background now fades out in the same manner as the foreground. Thanks @generalChaos for the PR.
0 commit comments