rozštěpen z vergnet/application-amicale
Removed log
Tento commit je obsažen v:
rodič
31f7a2e539
revize
645115cb78
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
|
@ -33,7 +33,6 @@ export default class AutoHideComponent extends React.Component<Props, State> {
|
||||||
|
|
||||||
onScroll({nativeEvent}: Object) {
|
onScroll({nativeEvent}: Object) {
|
||||||
const speed = nativeEvent.contentOffset.y < 0 ? 0 : this.lastOffset - nativeEvent.contentOffset.y;
|
const speed = nativeEvent.contentOffset.y < 0 ? 0 : this.lastOffset - nativeEvent.contentOffset.y;
|
||||||
console.log(nativeEvent);
|
|
||||||
if (speed < -5) { // Go down
|
if (speed < -5) { // Go down
|
||||||
if (!this.isAnimationDownPlaying) {
|
if (!this.isAnimationDownPlaying) {
|
||||||
this.isAnimationDownPlaying = true;
|
this.isAnimationDownPlaying = true;
|
||||||
|
|
Načítání…
Odkázat v novém problému