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

Many css built-in cursor type are not supported with WebView2 in WinUI3 #9188

Open
HO-COOH opened this issue Dec 27, 2023 · 4 comments
Open
Labels
area-WebView bug Something isn't working team-Controls Issue for the Controls team

Comments

@HO-COOH
Copy link

HO-COOH commented Dec 27, 2023

Describe the bug

Use a webview2 and go to https://developer.mozilla.org/en-US/docs/Web/CSS/cursor, and you can see how many of the built-in CSS cursors are not shown correctly with WebView2, but they do with Edge. Related to #8196, but these are not mentioned in that issue.
Some of them include:

zoom-in
zoom-out
grab
col-resize
row-resize

Steps to reproduce the bug

Hover to rows of this area
image

Expected behavior

Should behave the same as Edge

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.5 Experimental 1: 1.5.231202003-experimental1

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@HO-COOH HO-COOH added the bug Something isn't working label Dec 27, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Dec 27, 2023
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@HO-COOH HO-COOH changed the title Many css built-in cursor type is not supported with WebView2 Many css built-in cursor type are not supported with WebView2 in WinUI3 Dec 27, 2023
@bpulliam bpulliam added area-WebView and removed needs-triage Issue needs to be triaged by the area owners labels Jan 5, 2024
@bpulliam bpulliam added the team-Controls Issue for the Controls team label Jan 22, 2024
@HarlanHugh
Copy link

This is also a problem for BlazorWebView. This is a significant issue for our app.

@HarlanHugh
Copy link

It's been 6 months. Can we get some attention on this please?

@codendone
Copy link
Contributor

Documentation for CSS cursor limitations for WebView2 in WinUI2 also apply to WinUI3. The problem is that there is currently isn't a way for these custom cursors to be communicated from the CoreWebView2 process to the WinUI host. ("custom cursors" here means a cursor not in the CoreCursorType enum.)

This is something we'd like to fix at some point, but we don't have a timeline for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-WebView bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

4 participants