-
Notifications
You must be signed in to change notification settings - Fork 802
Open
Labels
bugSomething isn't workingSomething isn't workingneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area owners
Description
Describe the bug
When nesting an ItemsView control inside another ItemsViews Item (or ItemsRepeater) the Items inside stay highlighted after hovering on them. This happens with all the new major versions and 1.7 experimental as well.
Steps to reproduce the bug
<ItemsRepeater ItemsSource="{x:Bind Categories, Mode=OneWay}">
<ItemsRepeater.ItemTemplate>
<DataTemplate x:DataType="local:Category">
<ItemContainer>
<StackPanel DataContext="{x:Bind}">
<TextBlock Text="{x:Bind Label}"
HorizontalAlignment="Center"
FontSize="20"
Margin="0,10,0,10" />
<ItemsView ItemsSource="{x:Bind}">
<ItemsView.ItemTemplate>
<DataTemplate x:DataType="local:Item">
<ItemContainer>
<TextBlock Text="{x:Bind Label}"
HorizontalAlignment="Center" />
</ItemContainer>
</DataTemplate>
</ItemsView.ItemTemplate>
</ItemsView>
</StackPanel>
</ItemContainer>
</DataTemplate>
</ItemsRepeater.ItemTemplate>
</ItemsRepeater>NestedItemsViewHighlighting.zip
Expected behavior
No response
Screenshots
nested-itemsview-highlighting.mp4
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows Insider Build (xxxxx)
Additional context
Related to unoplatform/uno#19180
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area owners