npm / react-native-pager-view
react-native-pager-view
What changed in react-native-pager-view 7 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
5 breaking2 new APIs and options2 behavior and defaults1 tooling44 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-native-pager-view 1024 changes
Breaking changes 3
Android no longer restores a page's old view state when the page comes back.
Deprecated Android event and package APIs were dropped.
PagerView was converted to a function component, which may affect applications that relied on it being a class component.
New APIs and options 1
Lazy page mounting is added.
Behavior and default changes 2
Adds a direct animation to setPage.
The keyboard is dismissed once per drag.
Fixes and other changes 18
A setPage call sent during a slide is kept.
Stops an infinite loop in PageChildViewController.propagateSafe on iOS.
On iOS, UIKit no longer scrolls the pager to a focused input.
On iOS, a page hosted by SwiftUI is shown again after setPage.
On Android, tapping a TextInput on a page now moves the cursor.
Empty children are skipped when rendering the pager.
Android shows pages added to an empty pager.
iOS pager pages are rendered inside FullWindowOverlay.
On iOS 15, a hidden navigation bar stays hidden.
Focus is cleared and the keyboard is hidden when leaving a page on iOS.
The PagerView layoutDirection prop type now accepts 'locale'.
The onPageScroll event is emitted on iOS 15.
The onPageScrollStateChanged event is emitted on iOS 15.
Detox taps inside iOS pager pages now fire onPress.
On Android, the pager's Compose state is kept out of the host's saved state.
On Android, the pager reports settling until a swiped pager comes to rest.
Android applies setPage to pages added in the same commit.
A mostly vertical Android drag is handed to the scrollview underneath the pager.
react-native-pager-view 917 changes
New APIs and options 1
Adds Jetpack Compose support on Android.
Tooling 1
Adds Swift Package Manager support for the iOS project.
Fixes and other changes 15
On iOS, the navigation back gesture now works on the first page.
On Android, changing pages before the visible page no longer changes which page remains visible.
On iOS, the horizontal pager's top scroll-edge effect is hidden.
On Android, the JS touch is cancelled when the pager starts dragging.
On Android, a nested horizontal ScrollView can scroll inside the pager.
On Android, focus is cleared and the keyboard is hidden when leaving a page.
On iOS 15, overdrag is now respected.
On iOS 15, scrollEnabled is now respected.
On iOS, vertical pager scroll edge effects are hidden.
The GeometryReader root no longer shrinks pages for the keyboard.
Pages are kept out of the safe area again.
Fixes animated setPage calls landing on the wrong index.
ComposeView now has its own Lifecycle, fixing issues #1103 and #1104.
Fixes small iOS issues.
The kotlin-android plugin is skipped when AGP 9 built-in Kotlin is enabled, avoiding applying both Kotlin mechanisms.
react-native-pager-view 89 changes
Breaking changes 1
Navigating between multiple pages now cycles through the pages instead of animating as if swiping to the next one.
Fixes and other changes 8
Safe area insets are now propagated to child UIKit views inside PagerView.
iOS defers SwiftUI host setup until reactViewController is ready.
iOS SwiftUI TabView tags use positional indices to avoid duplicate tags.
Android no longer applies RTL inversion in PageTransformer, preventing a negative offset crash.
On iOS, scroll indicators are removed when changing pages.
On iOS, scrollEnabled false is now respected.
Emits a zero offset when idle to prevent the indicator from jumping.
Fixed overdrag behavior in usePagerView.
react-native-pager-view 74 changes
Breaking changes 1
Support for React Native's old architecture was dropped; developers need to use the new architecture.
Fixes and other changes 3
Removes hardcoded recycling on iOS.
Resolves an initialization timing issue for the iOS scrollEnabled prop.
Fixes incorrect pager position reporting when the pager is moved by a nested scroll view.