@amazon-devices/react-native-pager-view provides support on Kepler for PagerView library 3P PagerView by Callstack using the Stable API.
The Pager View component makes it easy to handle paginaton with dynamic views. It allows user to swipe left and right through pages of data.
Installation
- Add the JavaScript library dependency in the
package.jsonfile. Select the tab for your React Native version.
- React Native 0.72
- React Native 0.83
- Reinstall dependencies using
npm installcommand.
Examples
API Supported on Vega
Component API
Methods
Exceptions on Vega
scrollEnabledis not supported on Vega platform.setScrollEnabled(scrollEnabled: boolean)is not supported on Vega platform.overDragis supported ifoverScrollModeis not supplied.layoutDirectionnot supported by component, handled in native implementation in Vega.
D-Pad navigation with nested PagerViews
When navigating with the D-Pad from a focused element inside a nestedPagerView, pressing a direction perpendicular to the pager’s scroll axis (for example, up/down on a horizontal PagerView) may cause focus to jump to an adjacent page of the outer PagerView instead of the nearest element outside it.
This behavior occurs specifically with nested PagerView configurations and does not affect single-level PagerView usage.

