Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChatLayout didn't expose sectionHeadersPinToVisibleBounds option #18

Closed
AhmedRagabIssa opened this issue May 29, 2021 · 2 comments
Closed
Labels
question Further information is requested wontfix This will not be worked on

Comments

@AhmedRagabIssa
Copy link

AhmedRagabIssa commented May 29, 2021

The ChatLayout is of type UICollectionViewLayout not UICollectionViewFlowLayout and I cannot set the layout.sectionHeadersPinToVisibleBounds = true

here is the code I used:

if let layout = chatCollectionView.collectionViewLayout as? UICollectionViewFlowLayout {
     layout.sectionHeadersPinToVisibleBounds = true
}

I need to set the section header sticky to the visible bounds.

@ekazaev
Copy link
Owner

ekazaev commented May 31, 2021

@AhmedRagabIssa hi

ChatLayout is not aUICollectionViewFlowLayout and it doesn’t have that flag as it doesn’t support that behavior.

@ekazaev ekazaev added question Further information is requested wontfix This will not be worked on labels May 31, 2021
@ekazaev
Copy link
Owner

ekazaev commented Jun 3, 2021

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants