react-native-animated-dots-carousel icon indicating copy to clipboard operation
react-native-animated-dots-carousel copied to clipboard

[Fix] Dots alignment when no decreasing dots are present

Open yagovv opened this issue 1 year ago • 0 comments
trafficstars

In the case that the length of the items array is smaller than the minimum required to show the decreasing dots, the alignment is incorrect: Before: Screenshot 2024-08-07 at 12 42 03 After: Screenshot 2024-08-07 at 12 42 25

Applying a alignItems: 'center' to the CarouselDots container style fixes the issue.

yagovv avatar Aug 07 '24 10:08 yagovv