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
Weird scrolling bug #563
Comments
This is not reproduced in version 2.4.0 |
Thanks for telling us this. We'll use this version until its fixed hopefully in v. 3. |
Hi @peter-szucs! Which version are you using? There was a fix for this in 3.0.1. I tried implementing you example locally, with a header view on the top and using SnapKit in the same way, and it seems to work fine here. |
Hello @rechsteiner ! Thanks for your reply, |
Okay, thanks. Are you able to reproduce it in one of the example projects? That would be very helpful |
We didn't try out the example projects, and now that i've cloned it down could you tell me how to actually run it ? I can't really figure out how, it builds and thats it. link to our tryout project if you want to have a look there: |
Hello @rechsteiner. In general, I have the same problem with scrolling. I found the place in the library, where it can be fixed. As you can see on the screenshot scrollView.contentOffset has vertical and horizontal offset. If you uncomment the code, horizontal scrolling will work well. |
Thanks! Are you able to reproduce the bug in one of the examples? I haven't been able to reproduce it myself, so I can't verify that the changes are actually fixing it |
A very strange thing, because I can't reproduce this with an Example project. I'm probably setting something wrong. |
I’m quite sure it's a problem with Parchment, because it wasn’t an issue in v2.4. I just need to reproduce it to fix it |
I tried @mishaPetrus fix and it worked just fine, @rechsteiner please fix this issue ASAP or accept the answer and update the pod. |
@minaMagedNaeem I need to be able to reproduce it in order to provide a reliable fix. If you have any details on how to reproduce it that would be great. Even better if you are able to reproduce it in one of the example projects |
I got this exact scrolling issue. I have 5 menus: 1st(20 items) - 2nd(20 items) - 3rd(10 items) - 4th(20 items) - 5th(10 items). When I scroll from 20 items -> 10 items or 10 -> 20, this bug happens. It's normal from 1st menu to 2nd menu. |
I got this issue too, and misha's answer work great for me. But pullToRefresh will not work in this case. Hope you guys will fix it. |
@rechsteiner Hi Martin! |
@ageevvalentin |
Hi!
First of all thanks for a great library!
We recently decided to try and incorporate this into our app since it would suit our needs perfectly.
We also added a collapsing header effect with it.
So we first made a test project to test it out and just as we had refactored it into our own app we noticed a very strange bug that we just can't seem to pinpoint the problem with.
At first we thought maybe its something in our own app but i opened up the test project and its there as well.
This GIF will show you the issue. Its even worse when we only have one tab/screen. It then even gets hard to scroll down for a refresh properly without triggering this issue.
Do you have any idea as of why and where this might be happening ?
Sample code for implementation:
The text was updated successfully, but these errors were encountered: