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

[Skia] Selection does not appear with ItemContainerStyle on GridView #19527

Open
morning4coffe-dev opened this issue Feb 14, 2025 · 0 comments
Open
Labels
area/skia ✏️ Categorizes an issue or PR as relevant to Skia

Comments

@morning4coffe-dev
Copy link
Member

morning4coffe-dev commented Feb 14, 2025

When adding a custom ItemContainerStyle on GridView the selection seems to not appear on Desktop (Skia).

WinUI behavior:

winui-gridview.mp4

Desktop behavior:

desktop-gridview.mp4
    <GridView Grid.Column="0"
              ItemsSource="{x:Bind Strings, Mode=OneWay}"
              Padding="10">

        <GridView.ItemContainerStyle>
            <Style TargetType="GridViewItem"
                   BasedOn="{StaticResource DefaultGridViewItemStyle}">
                <Setter Property="Margin"
                        Value="3" />
            </Style>
        </GridView.ItemContainerStyle>
    </GridView>

Repro: GridViewIssue.zip

Tested with "Uno.Sdk": "5.7.0-dev.125"

Originally posted by @mcNets in #19491

@morning4coffe-dev morning4coffe-dev added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/skia ✏️ Categorizes an issue or PR as relevant to Skia
Projects
None yet
Development

No branches or pull requests

1 participant