microsoft-ui-xaml icon indicating copy to clipboard operation
microsoft-ui-xaml copied to clipboard

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

Open HO-COOH opened this issue 1 year ago • 4 comments

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 avatar Dec 27 '23 08:12 HO-COOH

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.

github-actions[bot] avatar Dec 27 '23 08:12 github-actions[bot]

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

HarlanHugh avatar Feb 27 '24 02:02 HarlanHugh

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

HarlanHugh avatar Aug 20 '24 20:08 HarlanHugh

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.

codendone avatar Aug 21 '24 17:08 codendone