Skip to content

Not all CSS cursor properties are functional #2766

@Brosinski

Description

@Brosinski

Description
When loading web componenets within webview2 the cursor css property does not work for every supported cursor
Assigning certain cursor properties results in no changes being made to the cursor for said element.

The following I tried to use that don't work are:

cursor : col-resize
cursor : move
cursor : cell
cursor : alias

There are many more. Cursor functionality is there, just not fully fleshed out as pointer, ew-resize ,auto, and s-resize are all functional, there may be more that work, but i haven't gone and tried all of them

Version
SDK: WebView2
.NET core 6
Framework: .NET MAUI Blazor
OS: WIN10

Repro Steps

Create a new Blazor Maui project with Visual Studio 2022 or serve something through a webview2 component

Try style any element with the cursor property set to cell or col-resize

Hover your mouse over the property, and it should only display a default cursor

Additional context
This was discovered through the use of Blazor Maui which seems to utilize WebView2

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions