We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2725c9 commit f37333aCopy full SHA for f37333a
src/components/carousel/index.tsx
@@ -447,7 +447,7 @@ class Carousel extends Component<CarouselProps, CarouselState> {
447
<PageControl
448
size={size}
449
spacing={spacing}
450
- containerStyle={containerStyle}
+ containerStyle={[containerStyle, Constants.isRTL && Constants.isIOS && styles.flip]}
451
inactiveColor={inactiveColor}
452
color={color}
453
{...others}
@@ -550,6 +550,9 @@ const styles = StyleSheet.create({
550
top: 12,
551
right: 12
552
},
553
+ flip: {
554
+ transform: [{scaleX: -1}]
555
+ },
556
pageControlContainerStyle: {
557
position: 'absolute',
558
bottom: 16,
0 commit comments