Open
Description
Contact Details
No response
What happened?
Upon disabling padEnds, for middle elements of the carousel, the partial view of previous element is removed. Partial view of only the next element is maintained.
Steps
In example app's Carousel with Custom Indicator Demo.
- Set
viewportFraction 0.8
. - Set
padEnds false
.
Expected Result
For first element, no padding is there on left. On right, the next element is partially visible.
For last element, no padding is there on right. On left, the previous element is partially visible.
For middle elements, next and previous elements are partially visible.
Actual Result
For first element, as expected.
For last element, as expected.
For middle elements, the left element is not partially visible. It looks like the first element with no padding on left.
Image

Version
3.1.0
What devices are you seeing the problem on?
Android
OS
Android Any
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct