Skip to content

[iOS] onPageSelected not fire when init first #1094

Description

@LeLuyen

On iOS, the onPageSelected event is not fired when the AnimatedPagerView is initialized for the first time with the default page (initialPage={0}).

This behavior was working as expected before, but after upgrading to the latest version, the initial page selection event is no longer emitted.

Environment
react-native-pager-view: 8.0.1 ~ 8.0.3
React Native: 0.84.1
New Architecture (Fabric): Enabled
Platform: iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions