Skip to content
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

CarouselView EmptyView not visible initially #11847

Open
JonathanBout opened this issue Dec 3, 2022 · 5 comments · Fixed by #24997
Open

CarouselView EmptyView not visible initially #11847

JonathanBout opened this issue Dec 3, 2022 · 5 comments · Fixed by #24997
Assignees
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

Comments

@JonathanBout
Copy link

JonathanBout commented Dec 3, 2022

Description

The EmptyViewTemplate is not visible the first time. As soon as it has had a value it will display the EmptyView.

Steps to Reproduce

  1. Clone or download the repository linked below
  2. When you start the app, at first the CarouselView doesn't display anything. If you click the button once it displays some numbers, and if you click it again it shows "Empty".
  3. If you hit the reload button, the CarouselView doesn't display anything again, until you hit the button.

Link to public reproduction project repository

https://github.com/JonathanBout/MauiCarouselViewBug

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

I was not able test on other platforms

Affected platform versions

At least android 12, I'm not able to test it on another device.

Did you find any workaround?

Set the HeightRequest on the CarouselView to contain all your data.

Relevant log output

No response

@JonathanBout JonathanBout added the t/bug Something isn't working label Dec 3, 2022
@JonathanBout
Copy link
Author

JonathanBout commented Dec 3, 2022

Oh actually, I now see that it does not do that when HeightRequest of the CarouselView is set, so that's a possibile workaround.

@Eilon Eilon added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Dec 5, 2022
@PureWeen PureWeen added this to the Backlog milestone Dec 6, 2022
@ghost
Copy link

ghost commented Dec 6, 2022

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.

@PureWeen
Copy link
Member

PureWeen commented Dec 6, 2022

Possibly related #10056

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jun 5, 2023
@Zhanglirong-Winnie
Copy link

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on android platform with above project.
MauiCarouselViewBug-master.zip
11847

@PureWeen
Copy link
Member

#27288

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Status: Todo
5 participants