apptekstudios / ASCollectionView

A SwiftUI collection view with support for custom layouts, preloading, and more.
MIT License
1.35k stars 160 forks source link

ASCollectionView with horizontal scroll direction showing section header on side instead of top. #230

Open markbryanramirez opened 2 years ago

markbryanramirez commented 2 years ago

Describe the bug Section header is showing on the leading side instead of top when scroll direction of collectionCiew is set to horizontal.

To Reproduce Steps to reproduce the behaviour: Set collection view layout to horizontal. Add header to sections.

Expected behaviour Should this behave similar to vertical scroll direction wherein the section header is on top?

Screenshots

Screen Shot 2022-01-01 at 11 45 35 AM

Xcode Version:

Simulator, Device, Both?