-
Notifications
You must be signed in to change notification settings - Fork 43
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
Horizontal direction not working unexpected #58
Comments
Yes, I had the same problem and indeed hardcoded the horizontal direction as a default value as I only needed this. Would be great though to make the configuration work correctly. |
@HazemKhaled Can you give a (full) example code that fits in an app.js? Either it's because the constants are defined incorrectly or executed on the wrong thread. Thx! |
Hello @hansemannn, can you help other contributors to understand what's the problem of issue #73? Thanks in advance |
@hansemannn |
Maybe move to _initWithPageContext:args: ? Thats called first, so you could get the properties from there. I‘m not planning to do that, but am happy to help in these kind of proxy questions |
The funny thing is that when |
I think I know exactly what causes it: |
Ok, last comment. It's more complicated than my previous statement. The |
Lets do a lazy initializer that invokes the required properties, wouldn‘t that help? - (UICollectionView *)collectionView
{
if (_collectionView == nil) {
// Initialize
}
return _collectionView;
} |
It's already implemented with a lazy initializer. The problem is that it's invoked before all the dynProps have been set.
All of these methods are called before the dynProps are fully set. When the dyn props are being set, the setters end up calling self.collectionView on the view class. |
'Creation time' properties include all of the waterfall attributes. I am using at the moment a personalised version with the quick and dirty fix, dealing only with the scrollDirection issue |
I'm using CollectionView in same app sometime vertical and some times horizontal, unfourtunilty some time the property ignored for no reason, in same page i've 5 instances in same screen, 3 working fine (horizontal) and 2 ignoring the property from the proxy.
I'm sure @philet have same issue, and his workaround by set horizontal ad default value, but it's not enough in case i need both vertical and horizontal in same app
From
To
Any help
The text was updated successfully, but these errors were encountered: