Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NafeelaNazhir opened this issue May 9, 2025 · 3 comments · May be fixed by #29453 or #29527
Open

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

NafeelaNazhir opened this issue May 9, 2025 · 3 comments · May be fixed by #29453 or #29527
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@NafeelaNazhir
Copy link
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

@NafeelaNazhir NafeelaNazhir added the t/bug Something isn't working label May 9, 2025
@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label May 9, 2025
Copy link

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
Copy link
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

@LogishaSelvarajSF4525 LogishaSelvarajSF4525 added area-controls-collectionview CollectionView, CarouselView, IndicatorView s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 9, 2025
@StephaneDelcroix StephaneDelcroix added this to the Backlog milestone May 9, 2025
@bhavanesh2001
Copy link
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
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
5 participants