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
selectItem error! #375
Comments
Can you provide steps to re-produce? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling selectItem immediately after reloadData will crash
Thread 1: "Attempted to scroll the collection view to an out-of-bounds item (4) when there are only 0 items in section -1. Collection view: <FSPagerViewExample.FSPagerCollectionView: 0x10380ea00; baseClass = UICollectionView; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x280105a40>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x280fcb7e0>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}; layout: <FSPagerViewExample.FSPagerViewLayout: 0x102b04a90>; dataSource: <FSPagerViewExample.FSPagerView: 0x102b0e560; frame = (0 70; 1080 556); autoresize = RM+BM; layer = <CALayer: 0x280fcb440>>>."
The text was updated successfully, but these errors were encountered: