Detect drag-and-drop cancellation when user pressed the Escape key #21908
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
Status: Resolved
Describe the bug
On a drag and drop operation, the user can cancel the operation by pressing the
Escape
key.The value of
DragEventArgs.DataTransfer.DropEffect
will benone
in the@ondragend
event.However,
DragEventArgs.DataTransfer.DropEffect
isnull
.To Reproduce
The text was updated successfully, but these errors were encountered: