Skip to content

Drop in FPS during scroll on ProMotion iPhone devices #3604

@vladimirivanoviliev

Description

@vladimirivanoviliev

Description

Hey, I just wanted to share something that I encountered last week and I believe should be included in the docs. I have react-native-skia canvas in scrollable container with some blurred shapes. This performs very good even on old android devices. However on iOS devices with ProMotion (120FPS support) there was a noticeable drop from 120FPS to 60FPS only when scrolling the container (simple ScrollView with default options). After some digging around I found out that I should enable the CADisableMinimumFrameDurationOnPhone option in the Info.plist file to get max FPS during scrolling with custom animations. This seems rather important pitfall and should be noted somewhere in the docs to save some time to the next guy.

@wcandillon

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions