CommunityToolkit / CommunityToolkit/Windows

Graphical glitches and poor performance on ColorPicker under WebAssembly

Open
#385 4 comments 0 reactions 1 assignee Claimed by @niels9001 View on GitHub
bug components::controls::colorpicker Uno
Dominant language
C#
Stars
1.1k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

The ColorPicker component was added in https://github.com/CommunityToolkit/Windows/pull/241 and recently released in 8.1-rc.

We had run into some minor issues ColorPicker on wasm before, but this was related to the Animations component (see [here](https://github.com/CommunityToolkit/Windows/pull/241#issuecomment-1899107130)).

ColorPicker appears to work fine on Uwp and WinAppSDK, but has these graphical glitches on Wasm.

### Steps to reproduce

```text
1. Open toolkitlabs.dev or build and deploy locally
2. Open the colorpicker component in the browser
3. Try to use it. Observe the visual bugs.
```

### Expected behavior

No visual bugs or choppy performance.

### Screenshots

https://github.com/CommunityToolkit/Windows/assets/9384894/0c1b1a7d-71cb-4047-a0f7-e2ba51675386

### Code Platform

- [ ] UWP
- [ ] WinAppSDK / WinUI 3
- [X] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK

### Windows Build Number

- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [ ] Windows 10 21H2 (Build 19044)
- [ ] Windows 10 22H2 (Build 19045)
- [ ] Windows 11 21H2 (Build 22000)
- [ ] Other (specify)

### Other Windows Build number

_No response_

### App minimum and target SDK version

- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Windows 10, version 2104 (Build 20348)
- [ ] Windows 11, version 22H2 (Build 22000)
- [ ] Other (specify)

### Other SDK version

_No response_

### Visual Studio Version

_No response_

### Visual Studio Build Number

_No response_

### Device form factor

_No response_

### Additional context

_No response_

### Help us help you

Yes, but only if others can assist.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.