This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] CarouselView on Android does not always fire CurrentItemChanged or PositionChanged when scrolling #10775
Labels
a/carouselview
blocker
Issue blocks next stable release. Prioritize fixing and reviewing this issue.
e/4 🕓
4
p/Android
t/bug 🐛
Projects
Description
CarouselView
will not always fire theCurrentItemChanged
orPositionChanged
events when scrolling in certain situations on Android. iOS works as expected. See the attached repro project.There appears to be a threshold point at which
PeekAreaInsets
can be set beyond which the aforementioned events will not fire. I'm assuming the threshold may have to do with some combination of the rendered item's width, the layout'sItemSpacing
, and the width of the screen (in pixels). The attached repro project was tested on an emulator based off of the Pixel 3 XL's screen dimensions.Steps to Reproduce
CarouselView
back and forth.CurrentItemChanged
norPositionChanged
is ever called.Expected Behavior
CurrentItemChanged
andPositionChanged
should both be called any time the items scroll.Basic Information
Reproduction Link
CarouselViewIssue.zip
The text was updated successfully, but these errors were encountered: