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
Events & Scroll conflict revisited #12
Conversation
Merge master into kaandedeoglu/ActiveLabel
…n UICollectionView & UITableView (UIScrollView subclasses)
Thanks so much for your efforts @kaandedeoglu to improve @weiFans could you please check if this also works for your use cases? |
@schickling Thank you for reminding me, English is not very good, I did not understand what the problem solving @kaandedeoglu |
@weiFans Can you please try if the latest changes in this pull branch breaks anything for you. |
@kaandedeoglu I do not have to use, not to solve the custom hyperlink, such as my description #7 |
@schickling Any news on this? |
Events & Scroll conflict revisited
Thank you! I've more coming if you're okay with it. Also, I think you're forgetting to publish new Cocoapods versions - can you please do |
I'd love to see that @kaandedeoglu! About Cocoapods: We're not using Cocoapods at Optonaut so I'm not familiar with the process. Isn't updating the podspec file enough? |
Nope - you have a cd to the directory and do |
I'm getting I guess somebody else already claimed ownership? |
Yep - |
Hello it's me again :)
I noticed some unwanted behavior when integrating
ActiveLabel
inUICollectionViewCell
instances. There were 2 problems:urlTapHandler
, but would immediately trigger the- collectionView:didSelectItemAtIndexPath:
delegate method - which can cause unwanted side effects - such as pushing a new ViewController etc.urlTapHandler
from firing when the touches end (because the touch is always on the label while scrolling), even when UICollectionView hascanCancelContentTouches
turned on. This is very unpleasant and different from how - say -UIButton
works in aUICollectionViewCell
.I know the changes that caused these are related to #3 - To be fair same problems demonstrated in the video can also occur while using a
UIButton
in a TableView/CollectionView as well - whencanCancelContentTouches
anddelaysContentTouches
are set incorrectly.I chose to solve these problems by overriding more
UIGestureRecognizerDelegate
methods - and have ourUILongPressGestureRecognizer
fail when the user scrolls.I'm working on a single case scenario with
ActiveLabel
, so I'm not 100% sure (but pretty sure) if this will not break things for anyone.Please just let me know if you don't want to merge this, so I can switch to using my own fork in the project.
Thank you