From 4ad44ad985998d9ae8c067c89f24da309b85f927 Mon Sep 17 00:00:00 2001 From: KimSeongIl Date: Fri, 15 Sep 2017 13:35:26 +0900 Subject: [PATCH] Update InfiniteScroll.js --- src/InfiniteScroll.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/InfiniteScroll.js b/src/InfiniteScroll.js index 177c907..90c6724 100644 --- a/src/InfiniteScroll.js +++ b/src/InfiniteScroll.js @@ -46,6 +46,7 @@ export default class InfiniteScroll extends Component { } componentDidUpdate() { + this.detachScrollListener(); this.attachScrollListener(); }