Skip to content
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

It's laggy on iPhone #47

Open
fransoudelaar opened this issue May 28, 2020 · 13 comments
Open

It's laggy on iPhone #47

fransoudelaar opened this issue May 28, 2020 · 13 comments

Comments

@fransoudelaar
Copy link

Please check it out on iPhone. It's really laggy. The examples on https://simpleparallax.com/ are laggy as well.

Testet with:
iPhone XR
iOS: 13.4.1
Safari

@geosigno
Copy link
Owner

geosigno commented Jun 1, 2020

Issue has been fixed. Thanks!

@geosigno geosigno closed this as completed Jun 1, 2020
@fransoudelaar
Copy link
Author

Nice job. Do you release a new version?

@geosigno
Copy link
Owner

geosigno commented Jun 1, 2020

The issue was on the demo website itself, not the plugin.

@fransoudelaar
Copy link
Author

fransoudelaar commented Jun 3, 2020

The issue still occurs on the demo website as far as I can see on my iPhone. I also encountered this issue on my implementation which is why I report it.

@fransoudelaar
Copy link
Author

I captured a screen recording of the behaviour on my iPhone XR in Safari: https://we.tl/t-5pbKSatUgZ

@geosigno
Copy link
Owner

geosigno commented Jun 3, 2020

This is definitely not good! I'll try to reproduce on my side. Was it fixed at some point on the demo website on your phone?

@fransoudelaar
Copy link
Author

Not that I know.

@geosigno
Copy link
Owner

geosigno commented Jun 7, 2020

I was able to reproduce it on an other iPhone 8 (exactly the same as mine...). I started to debug it and it seems the delay parameter - that will attach the CSS transition - is causing the issue. By default this delay is set at 0.4.

fransoudelaar, could you please try to set that delay at 0, and check on your local if you are still facing the issue?

@geosigno geosigno reopened this Jun 7, 2020
@P4KM4N
Copy link

P4KM4N commented Jun 8, 2020

I confirm that setting the delay parameter to 0 fix the issue! Thanks

@fransoudelaar
Copy link
Author

A delay of 0.2 seems to fix the issue as well on my iPhone XR.

My images got a transition: all 0.3s ease from my lazyloaded classname which was fading in the images. This was conflicting the parallax transition. I removed the transition of the lazyloaded style and changed the delay to 0.2. Works fine now.

geosigno added a commit that referenced this issue Jun 9, 2020
@luchi222
Copy link

hi my iphone xr has screen stuttering problems, do you think this could solve it?

@geosigno
Copy link
Owner

The issue seems related to https://bugs.chromium.org/p/chromium/issues/detail?id=899130

@maroluke
Copy link

maroluke commented Dec 8, 2021

Same behavior solved with setting the delay. Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants