IOStickyHeader icon indicating copy to clipboard operation
IOStickyHeader copied to clipboard

Parallax section header is not sticking to top while scrolling

Open AtulSingh9490 opened this issue 8 years ago • 2 comments

The section headers are not sticking while scrolling even if the disableStickyHeaders = false and parallaxHeaderAlwaysOnTop = true.

Also, if I do, flowLayout.sectionHeadersPinToVisibleBounds = true

It crashes on scrolling and gives error,

Assertion failure in -[UICollectionViewData validateLayoutInRect:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.60.7/UICollectionViewData.m:408 2016-06-28 18:39:48.980 [37977:1357753] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'layout attributes for supplementary item at index path (<NSIndexPath: > {length = 1, path = 0}) changed from <App.IOStickyHeaderFlowLayoutAttributes: 0x7ffecbaa4da0> index path: (<NSIndexPath: 0x7ffecbaab530> {length = 1, path = 0}); element kind: (IOStickyHeaderParallexHeader); frame = (0 0; 375 175); to <App.IOStickyHeaderFlowLayoutAttributes: 0x7ffecbab1000> index path: (<NSIndexPath: 0x7ffecba9c2b0> {length = 1, path = 0}); element kind: (IOStickyHeaderParallexHeader); frame = (0 115; 375 60); without invalidating the layout'

AtulSingh9490 avatar Jun 28 '16 13:06 AtulSingh9490

+1

mittenimraum avatar Oct 18 '16 13:10 mittenimraum

+1

HumidBrains avatar Nov 30 '16 17:11 HumidBrains