Skip to content

Infinite Scroll: Mobile Flicker #496

@joebentaylor1995

Description

@joebentaylor1995

I’ve successfully implemented the infinite scroll on desktop and it’s working exactly as intended. However, on mobile, specifically iOS, I’m seeing an issue when reaching the point where the top of the final element aligns with the top of the viewport. This is the moment Lenis restarts the animation loop.

At that transition, the page briefly flickers as the component switches. I’ve stripped out all animations to rule them out as the cause, but the issue persists.

The setup consists of three plus one duplicated elements, each sized at 100lvh and positioned relatively.

At this point I’m a bit stuck on what could be causing the flicker on iOS, and whether this is something that can be resolved at all or if it’s a platform-level limitation.

Live example:
https://jillianphyllis.netlify.app

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions