-
Notifications
You must be signed in to change notification settings - Fork 204
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
Error updating width #16
Comments
If anybody meet such a problem too please tell the alternative library please |
@eli7ah same issue here |
I was facing same issue. To fix you need invalidateLayout like below:
|
I wouldn't recommend invalidating the layout in |
@mischa-hildebrand Ohh..!!! What is an alternative solution to this problem? |
I honestly don't know. But I'm always open to suggestions! The problem is the following: The workflow of You can confirm this by replacing So for me it seems like it's either of the following two things:
Either way, we can't really do anything about it in this framework. However, please share any hints how to tackle this issue in this thread. |
💡 Hint:You can try the following to fix this issue:
While I really don't fancy this solution (it mixes layout with data) and think that it should work out of the box once you plug it in, this method will most likely yield the desired results, without messing with the layout system. |
if collectionView superView is View Rather than ViewController no viewDidLoad() method .What do I do? |
I'm using
alignedFlowLayout
this way:After XCode updates to 10.0 (but still using Swift 4.0) flow layout requires to update manually after collection view reloaded:
If there is an any other way for correct using or please fix an issue
Thanx a lot!
The text was updated successfully, but these errors were encountered: