From e6ecbe9187e1257927bb814cc751d158e85d19f4 Mon Sep 17 00:00:00 2001 From: Lucian Ticrea Date: Wed, 7 Dec 2016 16:25:49 +0200 Subject: [PATCH] fixed issue with overlapping of images on componentWillReceiveProps --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 35ce392..a7a6bd3 100644 --- a/lib/index.js +++ b/lib/index.js @@ -168,7 +168,7 @@ function PackeryComponent(React) { this._timer = setTimeout(function() { this.packery.reloadItems(); this.isMounted && this.isMounted() && this.forceUpdate(); - }.bind(this), 0); + }.bind(this), 1000); }, componentWillUnmount: function() {