diff --git a/LXReorderableCollectionViewFlowLayout/LXReorderableCollectionViewFlowLayout.m b/LXReorderableCollectionViewFlowLayout/LXReorderableCollectionViewFlowLayout.m index e975dd7..13af17a 100755 --- a/LXReorderableCollectionViewFlowLayout/LXReorderableCollectionViewFlowLayout.m +++ b/LXReorderableCollectionViewFlowLayout/LXReorderableCollectionViewFlowLayout.m @@ -266,6 +266,7 @@ - (void)handleScroll:(CADisplayLink *)displayLink { self.currentViewCenter = LXS_CGPointAdd(self.currentViewCenter, translation); self.currentView.center = LXS_CGPointAdd(self.currentViewCenter, self.panTranslationInCollectionView); self.collectionView.contentOffset = LXS_CGPointAdd(contentOffset, translation); + [self invalidateLayoutIfNecessary]; }