-
Notifications
You must be signed in to change notification settings - Fork 419
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
Scrolling bug in the pagingViewController (IconsExample) when applying different width for selected cell in IconsExample #87
Comments
Yeah, that's correct. I get same bug here as well. Not sure what could be causing that, but I'll try to get that fixed pretty soon 👍 |
I suspect this might have something to do with a bug I just fixed in #96, but I'm not 100% sure. At least I'm not able to reproduce the jumping after that fix. Could try out the latest master branch and see if you're still seeing this? |
Unfortunately, bug is still there. I have 12 icons each 40 points in width, selected icon is 60 points in width. |
But you are right, there is no longer bug in your IconExample. |
Ok, I have noticed that it has definitely become better, however this flickering behavior is still there. In your IconExample content controllers are empty, so you will hardly see any flicker. In our case we have 12 collectionViews with hundreds of cells in each, so this does have an impact. |
And in order to see this bug one should scroll controllers rather fast one by one. |
Managed to figure out what was causing this; seems to be a performance issue with the way I was updating the content offset when the user is scrolling. Should be fixed it #106 ✌️ Let me know if this fixes your issue! |
Yes, now it works smoothly. Thanks! |
Awesome 👍 |
Hey,
I have tried to set up different width for selected cell in IconsExample, wIth selected 60pt and not selected 80pt.
When I slide from controller to controller, relatively fast, pagingViewController on the top occasionally jumps from icon to icon without scrolling animation.
I have added
this
and this
to the IconsExample ViewController. Did I miss anything? Was that correct?
The text was updated successfully, but these errors were encountered: