Skip to content

[iOS] Incorrect safe-area inset inside PagerView with native search bar since 9.0.2 #1142

Description

@iliapnmrv

Environment

  • React Native: 0.87.1
  • React: 19.2.3
  • react-native-pager-view: 9.0.4
  • react-native-screens: 4.27.0
  • react-native-safe-area-context: 5.9.1
  • @react-navigation/native: 7.3.18
  • @react-navigation/native-stack: 7.18.10
  • Platform: iOS

Description

Hi! Thank you for your library and your time!
I'm facing an issue

https://github.com/iliapnmrv/react-native-pager-view-ios-searchbar-inset/blob/main/README.md

A FlatList gets an incorrect safe-area inset when it is rendered inside PagerView on a native-stack screen with headerSearchBarOptions.

The same FlatList, rendered directly on the screen without PagerView, is laid out correctly.

This appears to be a regression introduced in react-native-pager-view 9.0.2.

Simulator.Screen.Recording.-.iPhone.Air.-.2026-09-04.at.15.39.47.mov

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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