Removed log
这个提交包含在:
父节点
31f7a2e539
当前提交
645115cb78
共有 1 个文件被更改,包括 0 次插入 和 1 次删除
|
@ -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;
|
||||||
|
|
正在加载…
在新工单中引用