apptekstudios / ASCollectionView

A SwiftUI collection view with support for custom layouts, preloading, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

markbryanramirez opened this issue · comments

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:

  • 13.1

Simulator, Device, Both?

  • Both