Skip to content

Commit 8873a92

Browse files
author
Joshua Jahans
committed
add more animated overflow views
1 parent 5ef3319 commit 8873a92

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ImageHeaderScrollView.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class ImageHeaderScrollView extends Component<Props, State> {
156156
<AnimatedViewOverflow style={[styles.header, headerTransformStyle, this.props.headerContainerStyle]}>
157157
{this.renderHeaderProps()}
158158
{!this.props.disableOverlay && <Animated.View style={overlayStyle} />}
159-
<View style={styles.fixedForeground}>{this.props.renderFixedForeground()}</View>
159+
<AnimatedViewOverflow style={styles.fixedForeground}>{this.props.renderFixedForeground()}</AnimatedViewOverflow>
160160
</AnimatedViewOverflow>
161161
);
162162
}
@@ -241,7 +241,7 @@ class ImageHeaderScrollView extends Component<Props, State> {
241241
const inset = maxHeight - minHeight;
242242

243243
return (
244-
<View
244+
<AnimatedViewOverflow
245245
style={[
246246
styles.container,
247247
{
@@ -280,7 +280,7 @@ class ImageHeaderScrollView extends Component<Props, State> {
280280
/>
281281
{this.renderTouchableFixedForeground()}
282282
{this.renderForeground()}
283-
</View>
283+
</AnimatedViewOverflow>
284284
);
285285
}
286286

0 commit comments

Comments
 (0)