maui icon indicating copy to clipboard operation
maui copied to clipboard

CarouselView current item isn't changing

Open vladPanasiuk opened this issue 2 years ago • 2 comments

Description

In my case, I need to change position of the current element using a button. When the button is pressed, the position should simply increment. The problem is that when I press the button, nothing happens. But after swiping to change the position, pressing the button works fine as expected.

I tried only on Android

Steps to Reproduce

  1. Run project that is in reproduction project repository.
  2. After starting app press button 'Next' without swiping items in cariusel before clicking button.
  3. Observe the bug.

Expected outcome: current item of carousel is changings after button click Actual outcome: current iten isn't changing

Link to public reproduction project repository

https://github.com/vladPanasiuk/CarouselViewLoopBugReproduction

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 13

Did you find any workaround?

After hours of experiments, I noticed that it only is reproducing when Loop="False". So Loop="True" fixes it, but this workaround isn't fine because I need to disable looping.

Relevant log output

No response

vladPanasiuk avatar Dec 14 '22 18:12 vladPanasiuk

Hi @vladPanasiuk. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Dec 14 '22 19:12 ghost

Hi! I added reproduction project url and updated reproduction steps

vladPanasiuk avatar Dec 21 '22 09:12 vladPanasiuk

Looks related to https://github.com/dotnet/maui/issues/9749

busec0 avatar Jan 03 '23 15:01 busec0

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

ghost avatar Feb 20 '23 15:02 ghost

Same or similar to https://github.com/dotnet/maui/issues/9749

jsuarezruiz avatar Feb 20 '23 15:02 jsuarezruiz

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on Android platform with sample project. https://github.com/vladPanasiuk/CarouselViewLoopBugReproduction image

homeyf avatar Jun 06 '23 09:06 homeyf