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

[WASM] clicking thumb on slider colors webview2 blue when moved #19640

Open
jesslandersen opened this issue Mar 6, 2025 · 1 comment · May be fixed by #19703
Open

[WASM] clicking thumb on slider colors webview2 blue when moved #19640

jesslandersen opened this issue Mar 6, 2025 · 1 comment · May be fixed by #19703
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@jesslandersen
Copy link

Current behavior

The error:
If having a slider below a webview2. then clicking directly on the thump. When start moving the thump webview2 gets a overlay of blue color.
Releasing the mouse and clicking somewhere else in the ux removes the blue color.

If i click somewhere the slider (not on the thumb) and keep the mouse presses the thumb moves to my mouses location . I can then move (drag) the thump without the webview2 gets the blue overlay.

error is observed in Chrome and Edge, but not in Firefox

Expected behavior

been able to move the thump without affecting other controls

How to reproduce it (as minimally and precisely as possible)

Cant reproduce issue on Uno Playground, but can reproduce 100% in demo project attached here.

sliderIssue.zip

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

WebAssembly

IDE

Visual Studio 2022

IDE version

17.12.3

Relevant plugins

No response

Anything else we need to know?

No response

@jesslandersen jesslandersen added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Mar 6, 2025
@DierkDroth
Copy link

@jeromelaban I observe the blue overlay problem randomly on latest UNO WASM as well. However, not related to the UNO WebView2 implementation, since I'm using my own (based on an iframe - already since a few years).

In general I see it on this scenario:

  • there is a UI in front of another (fullscreen) UI. Think of it like a modal dialog (I have my own implementation though).
  • now if I pressed a button on the 'modal dialog' which would update the (fullscreen) UI behind, then I see that the updated part of that UI in the back might have a blue overlay - which goes away as I closed the dialog in front and clicked somewhere else on the UI in the back

Please don't ask me for a repo - this likely is impossible to reproduce by a 'simple' repo. I just wanted to point out that the underlying problem might not be related to the particular UNO WebView2 implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants