-
Notifications
You must be signed in to change notification settings - Fork 37
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
Jumping to end of Content #30
Comments
Hello @mmdock, thank you for your feedback! I have tried to place your code inside
How should I test One more question: |
@giulio92 I was finding it hard to put into words so I just upload two little vids(as gifs) with an explanation In the above clip, you will see that when I drag my collection to the right when there are no more cells to the left, so the code The aforementioned if statement solved this issue. Here is the new resulting behavior: Answer: |
@mmdock thank your for your further explanation! I have managed to reproduce the issue and I have found the cause of it. The bug happens when the
(where To fix this wrong behavior we should check if I will open a new Pull Request to fix this issue, with you as a credit! |
Pull request opened and merged on |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I had an issue with
GLIndexedCollectionViewFlowLayout
where when content offset is 0, if I were to bounce the collection (pull it to have a negative content offset on x) the offset would jump to the very end of the loaded content in the collection.I added this:
to the final return in:
Probably not the best way to handle this behavior, since I am not 100% sure why that number needs to be so high
I just wanted to bring some attention to this, as I wasn't sure if it was intended behavior to scroll to the end on a bounce at the beginning of the collection like that.
The text was updated successfully, but these errors were encountered: