Skip to content

[Android] CarouselView.Loop = false causes crash on Android when changed at runtime #29411

@NafeelaNazhir

Description

@NafeelaNazhir
Contributor

Description

When using a button click event to set the Loop property of a CarouselView to false at runtime, the app crashes on Android.

Screen.Recording.2025-05-09.at.1.16.36.PM.mov

Steps to Reproduce

  1. Launch the application CarouselViewIssue 9.zip
  2. Click the DisabledLoop button that triggers the OnDisabledButtonClicked method to set Loop to false.
  3. Observe that crash on Android.

Expected Behavior:
The CarouselView should update the loop behavior dynamically without crashing.

Actual Behavior:
The app crashes on Android when Loop is set to false dynamically.

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Activity

similar-issues-ai

similar-issues-ai commented on May 9, 2025

@similar-issues-ai

We've found some similar issues:

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.

LogishaSelvarajSF4525

LogishaSelvarajSF4525 commented on May 9, 2025

@LogishaSelvarajSF4525
Contributor

This issue has been verified in VS Code (v1.99.3) with version (9.0.60, 9.0.0 & 8.0.100). It can be reproduced on the Android platform

added this to the Backlog milestone on May 9, 2025
bhavanesh2001

bhavanesh2001 commented on May 12, 2025

@bhavanesh2001
Contributor

Crash happens in iOS as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Participants

      @StephaneDelcroix@anandhan-rajagopal@NafeelaNazhir@LogishaSelvarajSF4525@bhavanesh2001

      Issue actions

        [Android] CarouselView.Loop = false causes crash on Android when changed at runtime · Issue #29411 · dotnet/maui