-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When you use the blazor version of ondrop ( @ondrop
) you get an DragEventArgs parameter. This DragEventArgs has an DataTransfer property ( like the js version ). But this DataTransfer is always empty.
Expected Behavior
You should get the populated DataTransfer.
Steps To Reproduce
- define the draggable attribute on an element
- define ondragstart ( js-version ) ( on the same element as 1. ) and set data to the dataTransfer property of the event parameter
- define ondrop ( blazor-version ) and just output DataTransfer property of the DragEventArgs parameter
- drag element from 1. onto the element of 3.
( 5. See your output that show an empty DataTransfer )
Exceptions (if any)
No response
.NET Version
6.0.108
Anything else?
No response
TPIvan, RBearS, JinShil, LuohuaRain and ViRuSTriNiTy
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one