Open Bloodyairtimer opened 2 years ago
Same issue, not happening on Android with same code. I've also disabled swipegesture on UWP because the scrolling was a mess
Tried making CarouselView.IsScrollAnimated false as workaround and it seems to work
That seems to work indeed.
Description
The issue occurs when I use the Position property on the CarouselView to update the carousel to go to the next item. On UWP the Position is updated via the viewmodel property and the PositionChanged event is fired with the correct position parameter. Right after that the PositionChanged event is fired directly again, this time reverting the previous change.
The callstack is showing the first update that it is triggered by the update from the CurrentPosition property on the viewmodel. The second time there is no callstack other than the event.
Tried to change the binding to oneway. No difference. Sometimes when fast clicking the button on the screen multiple times the screen is navigating to the next view.
Steps to Reproduce
Expected Behavior
When updating the position property on the viewmodel the control should react and navigate to the next page.
Actual Behavior
The screen is bouncing a bit and reverting the position change.
Basic Information
Environment
Reproduction Link
App6.zip