-
Notifications
You must be signed in to change notification settings - Fork 49
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
seeing recursion with DTCollectionViewDelegate canFocus #64
Comments
Hey! I believe this might be a bug in DTCollectionViewManager. From documentation on UICollectionViewDelegate
Which is unfortunate, because this event implementation in DTCollectionViewManager is implemented like so: And so what I was trying to do is
What seems to be happening is step 3 implicitly calls step 2 in UICollectionView implementation which leads to infinite recursion. I don't have experience of working with this API, but it seems like removing step 3 in DTCollectionViewDelegate implementation looks like the way to go. What do you think? |
Yes, your assessment looks correct. Additionally, you'll have to take out the same clause in |
Quick note... sorry to say but I can't get back to this until Monday, unfortunately. But I dug around a bit more in the code and found a similar example of this |
@skydivedan No worries, take your time, it can wait till Monday =) As for |
This bug is fixed in DTCollectionViewManager 6.4.1 release. Closing. |
Sorry, this isn't really an issue, but asking for advice, as to whether you've seen this and might know the cause.
There is a situation (which I'm still trying to determine the cause) where
canFocus
gets called repeatedly, and recursively. Screenshot attached of stacktrace. I'm sure it's some dumb issue on my part, just not sure best way to proceed.The text was updated successfully, but these errors were encountered: