You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.
I have added your great work TGLstackedView to my app and it looks great ... but it has one strange issue ... I spend hours to fix it without hope...
1- When view appeared the position of cards is not correct based on giving information (is suppose to be 10 from top of collectionView) .... - even if tried to push the cards to top it stacked at same location-
2- When I exposed any items it will shows at same wrong location ... same as above
3- but when I click on unexposed items ... it will show all items but in CORRECT location ... to (10)
and also it even can scroll to down and up !!
I have spend hours to check parameters to control this behavior ... and tried to test example app .. but I could not solve my issue because in example app when you click on unexposed items is not behaving any thing "No gesture"
Note: I am using 100% code as i am not familiar with IB Story board
let layout: TGLStackedLayout = TGLStackedLayout()
layout.itemSize = CGSize(width: view.bounds.width - 20, height: view.bounds.height-250)
layout.layoutMargin = UIEdgeInsetsMake(10, 0, 0, 0); //this is edge from collectionView "Gray Color"
layout.topReveal = 50
:) I tried many times even to modify your source file and still this issue showing... why first picture starting from this point x,y while i have set them 0,10 only! if you want me to show particular lines on my code no problem :
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have added your great work TGLstackedView to my app and it looks great ... but it has one strange issue ... I spend hours to fix it without hope...
1- When view appeared the position of cards is not correct based on giving information (is suppose to be 10 from top of collectionView) .... - even if tried to push the cards to top it stacked at same location-

2- When I exposed any items it will shows at same wrong location ... same as above

3- but when I click on unexposed items ... it will show all items but in CORRECT location ... to (10)

and also it even can scroll to down and up !!
I have spend hours to check parameters to control this behavior ... and tried to test example app .. but I could not solve my issue because in example app when you click on unexposed items is not behaving any thing "No gesture"
Note: I am using 100% code as i am not familiar with IB Story board
self.collectionView?.frame = CGRect(x:0, y:80, width: self.view.bounds.width, height: self.view.bounds.height-130)
self.exposedPinningMode = .all
self.exposedItemSize = CGSize(width: view.bounds.width - 20, height: view.bounds.height-200)
self.exposedLayoutMargin = UIEdgeInsetsMake(10, 0, 0, 0);
self.exposedBottomOverlap = 25
self.view.backgroundColor = .red
Thank you
The text was updated successfully, but these errors were encountered: