[Blazor] Include mouse position in page coordinates in UIDragEventArgs
Expand the current UIDragEventArgs by pageX and pageY variables.
@danroth27, FYI regarding the milestone and priority assignment.
This would include providing extra information on the event args in addition to what the DOM provides. While this is probably the most straightforward way to proceed, we've considered it in the past and didn't do it right away.
Doing something like this would involved a more thorough look at the events in general and trying to understand what else we would want to polyfill because there are a few notable cases (scrolling is similar).
Dup of https://github.com/dotnet/aspnetcore/issues/17552
It will be nice to expose PageX and PageY properties in the MouseEventArgs too. Currently, it's impossible to calculate the absolute position of the visible part of the screen.
We already have ScreenX/ScreenY and ClientX/ClientY and OffsetX/OffsetY. I think these will cover typical use cases.
If there are needs for even more types of coordinate, we'd handle that through #17552, so I'll close this as a duplicate of that.