-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Description: Some item show blank in vertical Carousel when scroll
Device orientation: landscape
Expected behavior: Item should not show blank
Source code:
// A hero carousel
RecyclerView heroStartRecyclerView = view.findViewById(R.id.hero_start_carousel_recycler_view);
CarouselLayoutManager heroStartCarouselLayoutManager =
new CarouselLayoutManager(new HeroCarouselStrategy(),CarouselLayoutManager.VERTICAL);
I have modify below values
m3_carousel_small_item_size_min 220dp
m3_carousel_small_item_size_max 230dp
Minimal sample app repro: Please consider attaching a minimal sample app that reproduces the issue. This will help narrow down the conditions required for reproducing the issue, and it will speed up the bug fix process. You may attach a zip file of the sample app or link to a GitHub repo that contains the sample app.
Android API version: Android 12
Material Library version: Material Android Library version you are using here (e.g., 1.14.0-alpha02)
Device: Device on which the bug was encountered here
To help us triage faster, please check to make sure you are using the latest version of the library.
We also happily accept pull requests.
Note: For horizontal scroll its working properly