Describe the bug
Setting DragDrop.AllowDrop to false on a NativeWebView does just nothing.
Attaching dragdrop event handlers to NativeWebView as well, just nothing.
To Reproduce
Create an app, wire the MainWindow up for drag/drop, add a NativeWebView with DragDrop.AllowDrop=false.
Drag a file or folder over the NativeWebView -> it opens the file/folder in a separate window.
Expected behavior
AllowDrop should be respected and disable drag/drop behavior of the NativeWebView control.
Eventhandlers should be wired up properly as well. Someone might want to prevent dragging in stuff because of security issues.
Avalonia version
11.3.12 with Avalonia.Controls.WebView 11.4.0
OS
Windows
Additional context
No response
Describe the bug
Setting
DragDrop.AllowDropto false on aNativeWebViewdoes just nothing.Attaching dragdrop event handlers to
NativeWebViewas well, just nothing.To Reproduce
Create an app, wire the MainWindow up for drag/drop, add a
NativeWebViewwithDragDrop.AllowDrop=false.Drag a file or folder over the
NativeWebView-> it opens the file/folder in a separate window.Expected behavior
AllowDrop should be respected and disable drag/drop behavior of the
NativeWebViewcontrol.Eventhandlersshould be wired up properly as well. Someone might want to prevent dragging in stuff because of security issues.Avalonia version
11.3.12 with Avalonia.Controls.WebView 11.4.0
OS
Windows
Additional context
No response