Skip to content

Repeated rerenders on iOS Safari scroll #17

Description

@cerom

On iOS Safari with URL bar at the bottom of the screen (>15.0), the window resizes every time the scroll direction changes, as the URL bar is being minimized or expanded.
This triggers a re render of the SplitText component and the animation is triggered every single time.
Is there a way to prevent those undesired rerenders by filtering vertical resize listening events on iOS devices maybe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions