We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c4b0e8 commit f13beb0Copy full SHA for f13beb0
1 file changed
src/ImageHeaderScrollView.js
@@ -198,10 +198,10 @@ class ImageHeaderScrollView extends Component<Props, State> {
198
return;
199
}
200
this.container.measureInWindow((x, y) => {
201
- if (this.container) {
202
- this.setState(() => ({ pageY: y }))
203
- }
204
- });
+ if (this.container) {
+ this.setState(() => ({ pageY: y }))
+ }
+ });
205
};
206
207
onScroll = (e: *) => {
0 commit comments