ZoomCollectionView icon indicating copy to clipboard operation
ZoomCollectionView copied to clipboard

Cannot override didSelectItem or handle click on the items?

Open n1schal opened this issue 5 years ago • 2 comments

Hey.

So I needed a zoomable collection view and stumbled upon this.

Had to get the files and change a teeny tiny bit to get it working.

I tried handling clicks, but tap gestures are possibly blocked by the zoom gesture, so no luck.

I also tried setting the collectionview delegate but everytime I zoom and scroll around, the items disappear.

I hope you're still on github and monitoring issues.

Any help would be much appreciated!

Thanks

n1schal avatar Feb 02 '20 11:02 n1schal

Good question. Have you tried attaching a new tap gesture to the scroll view? This library was always quite a hacky solution to a complex problem so there's probably a bunch of these cases that just don't work.

If items start disappearing something with UIKit must have changed because that wasn't the case when I last touched this lib. I'll gladly merge a PR if you manage to fix the issues!

helmutschneider avatar Feb 02 '20 18:02 helmutschneider

Good question. Have you tried attaching a new tap gesture to the scroll view? This library was always quite a hacky solution to a complex problem so there's probably a bunch of these cases that just don't work.

If items start disappearing something with UIKit must have changed because that wasn't the case when I last touched this lib. I'll gladly merge a PR if you manage to fix the issues!

@n1schal managed to fix that and create a PR you can use if you still need that

SohaibSiddique avatar May 25 '21 20:05 SohaibSiddique