maui icon indicating copy to clipboard operation
maui copied to clipboard

CarouselView Loop="False" renders incorrectly items ( net8, net9 rc2)

Open bcaceiro opened this issue 1 year ago • 4 comments

Description

Using a CarouselView in a .net maui project ( tested with v8.0.91 & .NET9 RC2) withLoop="False"results in an incorrect render. If we set Loop="True" the items are rendered correctly.

With Loop=True Imgur Image

Using Loop=False

Imgur Image

It happens in 8.0.92 and in .net 9 rc2 The code can be found here: https://github.com/bcaceiro/net9-repros/tree/main/CarouselBug

Steps to Reproduce

  1. Clone https://github.com/bcaceiro/net9-repros/ -> CarouselBug solution
  2. Run with Loop = True
  3. Run with Loop = False
  4. See the differences in rendering ( false is totally broken)

Link to public reproduction project repository

https://github.com/bcaceiro/net9-repros/tree/main/CarouselBug

Version with bug

9.0.0-rc.1.24453.9

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 14 ( did not test in others)

Did you find any workaround?

No workaround, just setting Loop="True" which is not the desired effect

Relevant log output

No response

bcaceiro avatar Oct 11 '24 05:10 bcaceiro

We've found some similar issues:

  • #19657 , similarity score: 82%
  • #12850 , similarity score: 81%

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

similar-issues-ai[bot] avatar Oct 11 '24 05:10 similar-issues-ai[bot]

I can repro this issue at Android platform on the latest 17.12.0 Preview 2.1(9.0.0-rc.1.24453.9). But works fine on 17.12.0 Preview 3.0 [35410.144.d17.12]9.0.0-rc.2.24503.2,This is currently not a released build. Image Would you mind sharing your configuration? I did reproduce it on 17.12.0 Preview 2.1(9.0.0-rc.1.24453.9).So I added a recurrence tag

ninachen03 avatar Oct 11 '24 10:10 ninachen03

Hi @ninachen03 I only tried it using: .net 9 RC2 and .net8 8.0.90

bcaceiro avatar Oct 11 '24 11:10 bcaceiro

This is still happening in 9.0.10-ci.net9.24523.3

bcaceiro avatar Oct 23 '24 08:10 bcaceiro