MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Not all CSS cursor properties are functional

Open
#2,766 14 comments 0 reactions 1 assignee View on GitHub

@tochukwuIbeEkeocha is already working on this.

Since Feb 27, 2024.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.