diff --git a/Classes/CSStickyHeaderFlowLayout.m b/Classes/CSStickyHeaderFlowLayout.m index e790c3a..13fd716 100644 --- a/Classes/CSStickyHeaderFlowLayout.m +++ b/Classes/CSStickyHeaderFlowLayout.m @@ -56,7 +56,12 @@ - (NSArray *)layoutAttributesForElementsInRect:(CGRect)rect } // For iOS 7.0, the cell zIndex should be above sticky section header - attributes.zIndex = 1; + + /* + Commented out as it will cause cell disappeared if dequeueReusableCellWithReuseIdentifier + in didSelectItemAtIndexPath. + */ +// attributes.zIndex = 1; }]; // when the visible rect is at top of the screen, make sure we see diff --git a/Project/CSStickyHeaderFlowLayoutDemo.xcworkspace/xcshareddata/CSStickyHeaderFlowLayoutDemo.xccheckout b/Project/CSStickyHeaderFlowLayoutDemo.xcworkspace/xcshareddata/CSStickyHeaderFlowLayoutDemo.xccheckout index 8082dae..16d1822 100644 --- a/Project/CSStickyHeaderFlowLayoutDemo.xcworkspace/xcshareddata/CSStickyHeaderFlowLayoutDemo.xccheckout +++ b/Project/CSStickyHeaderFlowLayoutDemo.xcworkspace/xcshareddata/CSStickyHeaderFlowLayoutDemo.xccheckout @@ -5,34 +5,34 @@ IDESourceControlProjectFavoriteDictionaryKey IDESourceControlProjectIdentifier - 48E17D25-39A0-4DEC-83D6-22CE1C0C0217 + C8021B5E-4CAB-4005-8F88-B9BBEEE49326 IDESourceControlProjectName CSStickyHeaderFlowLayoutDemo IDESourceControlProjectOriginsDictionary - 9FCEA6B4-6BFD-40A1-97AA-77294F4A62B7 - https://github.com/jamztang/CSStickyHeaderFlowLayout.git + 68E3E61B-A6CA-4D8F-9549-E378C5352FF7 + https://github.com/siutsin/CSStickyHeaderFlowLayout.git IDESourceControlProjectPath Project/CSStickyHeaderFlowLayoutDemo.xcworkspace IDESourceControlProjectRelativeInstallPathDictionary - 9FCEA6B4-6BFD-40A1-97AA-77294F4A62B7 + 68E3E61B-A6CA-4D8F-9549-E378C5352FF7 ../.. IDESourceControlProjectURL - https://github.com/jamztang/CSStickyHeaderFlowLayout.git + https://github.com/siutsin/CSStickyHeaderFlowLayout.git IDESourceControlProjectVersion 110 IDESourceControlProjectWCCIdentifier - 9FCEA6B4-6BFD-40A1-97AA-77294F4A62B7 + 68E3E61B-A6CA-4D8F-9549-E378C5352FF7 IDESourceControlProjectWCConfigurations IDESourceControlRepositoryExtensionIdentifierKey public.vcs.git IDESourceControlWCCIdentifierKey - 9FCEA6B4-6BFD-40A1-97AA-77294F4A62B7 + 68E3E61B-A6CA-4D8F-9549-E378C5352FF7 IDESourceControlWCCName CSStickyHeaderFlowLayout