dotnet / dotnet/aspnetcore

UIMouseEventArgs doesn't provide reference to the element clicked

Open
#12,259 4 comments 3 reactions 0 assignees View on GitHub
affected-few area-blazor enhancement feature-blazor-component-model severity-major
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

I have not been able to find any sample code to do this. Without being able to know which element was clicked, it seems impossible to use UIMouseEventArgs for moving of elements on the page. I ran into this same issue with the Drag-n-Drap events args too.

If this feature is already in the product, please provide an sample. There is something like this for keydown event in the documents, but not mouse events.

If not already in the product, this is a must have for go live please :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.