From 5c089f1b7c0373f9a43f3aa22fd248297ec3b1cd Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Thu, 15 Jul 2021 15:57:12 +0800 Subject: [PATCH] iOS: flowlayout do not set pagingEnabled. --- doric-iOS/Pod/Classes/Shader/DoricFlowLayoutNode.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricFlowLayoutNode.m b/doric-iOS/Pod/Classes/Shader/DoricFlowLayoutNode.m index 7d68fd11..3c77848d 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricFlowLayoutNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricFlowLayoutNode.m @@ -186,7 +186,7 @@ - (UICollectionView *)build { collectionViewLayout:flowLayout] also:^(UICollectionView *it) { it.backgroundColor = [UIColor whiteColor]; - it.pagingEnabled = YES; + it.pagingEnabled = NO; it.delegate = self; it.dataSource = self; [it registerClass:[DoricFlowLayoutViewCell class] forCellWithReuseIdentifier:@"doricCell"];