unoplatform / Uno.WindowsCommunityToolkit

The Windows Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks building UWP apps for Windows 10. The toolkit is part of the .NET Foundation.
https://docs.microsoft.com/windows/uwpcommunitytoolkit/
Other
61 stars 11 forks source link

ColorPicker has issues on WASM #190

Closed hawkerm closed 1 year ago

hawkerm commented 1 year ago

Describe the bug

Couple of issues with the display of the ColorPicker on WASM (not sure if only when displayed in ColorPickerButton)

  1. Color Palette grid doesn't display.
  2. Sliders don't display until manipulated:

image

image

Didn't test the square picker tab (had it disabled in my scenario).

Steps to Reproduce

                          <controls:ColorPickerButton>
                            <controls:ColorPickerButton.ColorPickerStyle>
                                <Style TargetType="controls:ColorPicker">
                                    <Setter Property="IsAlphaEnabled" Value="False" />
                                    <Setter Property="IsColorSpectrumVisible" Value="False" />
                                    <Setter Property="IsColorPaletteVisible" Value="True" />
                                    <Setter Property="IsColorChannelTextInputVisible" Value="True" />
                                </Style>
                            </controls:ColorPickerButton.ColorPickerStyle>
                        </controls:ColorPickerButton>

Expected behavior

Able to see Palette color grid:

image

Screenshots

Environment

NuGet Package(s): Uno.Microsoft.Toolkit.Uwp.UI.Controls.Input 7.1.11

Package Version(s):

Windows 10 Build Number:

App min and target version:

Device form factor:

Visual Studio version:

Additional context

jeromelaban commented 1 year ago

Thanks for the report! Let's continue the tracking here: https://github.com/unoplatform/uno/issues/6834