-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
When I change my phone language to Hebrew\Arabic, the pagination doesn't work.
I tried to set the curPage as such:
<PaginationDot
activeDotColor={'#f14447'}
curPage={I18nManager.isRTL ? state.carouselItems.length - 1 - state.activeIndex : state.activeIndex}
maxPage={state.carouselItems.length} // Note: my data set has 13 items
sizeRatio={2.0}
/>
I don't see the first item highlighted, I only start see the curPage highlighted after 5 scrolls, and then after another 5 scrolls it disappears again.
I tried playing with the curPage setting it to different values, but it seems I cant get it to work on RTL layout.
Metadata
Metadata
Assignees
Labels
No labels