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
Not tracking 1:1 #157
Comments
Hi @iansilber , can you please add a video or more information. I have no idea what “track 1:1” means |
Yep — take a look at this video comparing the built in paging view and SwiftUIPager https://www.dropbox.com/s/ssvdnfh5wa5mk10/swiftuipager%20report.mp4?dl=0. Notice how when using SwiftUIPager, it lags behind the mouse, as if it's being animated into position vs. being moved directly by the touch. |
Hi @iansilber , I see what you mean. I’m not sure how |
Got it, thanks for the explanation. |
@iansilber don’t misunderstand, the request is very valid. Problem is at the moment there are no resources to do it :/ |
random, but if you change the animation duration to ref:
|
Hi @vanities , thanks a lot for that, it does look very smooth indeed. Is this @iansilber something that looks appealing to you? It looks a simple change that makes a hell of an improvement! If so, I can arrange to have a release. PS: I forgot to mention that the scroll is also normalized. So in your video, @iansilber , your page is narrower than you PS2: if you ever find any piece of code that can be improved, please don't hesitate to send a PR or point it at me by opening an issue. I've worked on this for so long that sometimes I'm stubborn enough to not see the right solution. |
I can take a look — what would I try exactly to give that a shot? |
So what @vanities suggested I believe is done and ready to try on version |
Hi, I've decided to remove that change as it's creating a weird effect when transitioning to the next page. Will close this issue as there's nothing I'll be doing at the moment. |
This is solved on version 2.0.2 |
Thank you! |
Thanks! |
Describe the bug
When swiping the page doesn't track 1:1 (seems to lag a bit)
To Reproduce
Swipe across pages
Expected behavior
Typical paged views on iOS track 1:1 with your finger to make it feel smooth / responsive.
Environment:
Additional context
Didn't see anything in the documentation to configure or adjust this.
The text was updated successfully, but these errors were encountered: