Carousel icon indicating copy to clipboard operation
Carousel copied to clipboard

Vertical bar is reversed in RTL

Open DarkionAvey opened this issue 3 years ago • 0 comments

Hi Thanks for the library, it's really neat and good.

I noticed that the vertical bars are reversed in RTL, meaning they start scrolling from the bottom to top. Could you please have a look and fix the issue? Thanks

I used this code:

   Carousel(
                        colors = CarouselDefaults.colors(
                            scrollingThumbColor = MaterialTheme.colorScheme.tertiary,
                            thumbColor = MaterialTheme.colorScheme.tertiary,
                            scrollingBackgroundColor = Color.Transparent,
                            backgroundColor = Color.Transparent
                        ),
                        state = state,
                        modifier = Modifier
                            .padding(5.dp)
                            .width(3.dp)
                            .fillMaxHeight()
                            .align(CenterEnd)
                    )

Screenshot_20220113-204137_OnDynamic icon pack

DarkionAvey avatar Jan 13 '22 19:01 DarkionAvey