|
@@ -33,7 +33,6 @@ export default class AutoHideComponent extends React.Component<Props, State> {
|
33
|
33
|
|
34
|
34
|
onScroll({nativeEvent}: Object) {
|
35
|
35
|
const speed = nativeEvent.contentOffset.y < 0 ? 0 : this.lastOffset - nativeEvent.contentOffset.y;
|
36
|
|
- console.log(nativeEvent);
|
37
|
36
|
if (speed < -5) { // Go down
|
38
|
37
|
if (!this.isAnimationDownPlaying) {
|
39
|
38
|
this.isAnimationDownPlaying = true;
|