maui
maui copied to clipboard
CarouselView Loop="False" renders incorrectly items ( net8, net9 rc2)
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

Using Loop=False

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
- Clone https://github.com/bcaceiro/net9-repros/ -> CarouselBug solution
- Run with Loop = True
- Run with Loop = False
- 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
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.
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.
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
Hi @ninachen03 I only tried it using: .net 9 RC2 and .net8 8.0.90
This is still happening in 9.0.10-ci.net9.24523.3