We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5feef59 commit 861aeebCopy full SHA for 861aeeb
1 file changed
src/index.js
@@ -338,7 +338,11 @@ class ParallaxScrollView extends Component {
338
_renderFooterSpacer({ contentBackgroundColor }) {
339
return (
340
<View
341
- ref={ref => (this._footerComponent = ref)}
+ ref={ref => {
342
+ if (ref) {
343
+ this._footerComponent = ref;
344
+ }
345
+ }}
346
style={{ backgroundColor: contentBackgroundColor }}
347
/>
348
)
0 commit comments