We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Gemini seems to be not working when using a UICollectionViewDiffableDataSource along with a UICollectionViewCompositionalLayout.
The scrolling function func scrollViewDidScroll(_ scrollView: UIScrollView) is not called on scroll in these layouts by design, rather:
func scrollViewDidScroll(_ scrollView: UIScrollView)
section.orthogonalScrollingBehavior = .groupPagingCentered section.visibleItemsInvalidationHandler = { visibleItems, scrollOffset, layoutEnvironment in self.collectionView.animateVisibleCells() }
is used to detect scrolling for each section, but calling the animation function seems to only do the animation once initially.
I'm also calling the animation in
func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) { guard let customCell = cell as? MyCollectionCell else { return } self.collectionView.animateCell(customCell) }
and its set as
collectionView.gemini.customAnimation().translation(x: 0, y: 50, z: 0).rotationAngle(x: 0, y: 13, z: 0).ease(.easeOutExpo)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Gemini seems to be not working when using a UICollectionViewDiffableDataSource along with a UICollectionViewCompositionalLayout.
The scrolling function
func scrollViewDidScroll(_ scrollView: UIScrollView)
is not called on scroll in these layouts by design, rather:
is used to detect scrolling for each section, but calling the animation function seems to only do the animation once initially.
I'm also calling the animation in
and its set as
The text was updated successfully, but these errors were encountered: