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

CollectionView GroupHeaderTemplate controls inside incorrectly show/hide after reusing dataTemplate #26150

Closed
DmitryNikiforovCoherent opened this issue Nov 27, 2024 · 2 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working

Comments

@DmitryNikiforovCoherent
Copy link

DmitryNikiforovCoherent commented Nov 27, 2024

Description

I have grouped collectionview(group header is expandable). When header is not expanded, it should have border(use BoxView for it) and hide it, when expand. When header item is reused, BoxView can be hidden, even if should be shown

Image

Steps to Reproduce

<CollectionView IsGrouped="True" ItemsSource="{Binding Items}" ItemTemplate="{StaticResource ItemSelector}" GroupHeaderTemplate="{StaticResource ExpanderTemplate}"/> <DataTemplate x:Key="ExpanderTemplate" x:DataType="activity:Group"> <Grid Padding="24,8" RowDefinitions="40,1" ColumnDefinitions="Auto,*,Auto" BackgroundColor="{StaticResource Global-Colors-DX-White}"> .. Content... <BoxView Grid.Row="1" Grid.ColumnSpan="3" IsVisible="{Binding BorderVisible}" BackgroundColor="{StaticResource Global-Colors-DX-Light-Gray}"/> </Grid> </DataTemplate>

Link to public reproduction project repository

No response

Version with bug

8.0.92 SR9.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.5

Did you find any workaround?

No response

Relevant log output

@DmitryNikiforovCoherent DmitryNikiforovCoherent added the t/bug Something isn't working label Nov 27, 2024
@StephaneDelcroix StephaneDelcroix added area-controls-collectionview CollectionView, CarouselView, IndicatorView s/needs-repro Attach a solution or code which reproduces the issue labels Nov 27, 2024
Copy link
Contributor

Hi @DmitryNikiforovCoherent. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Dec 2, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Dec 10, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants