Skip to content

BlazorWebView drag and drop does not work with MAUI Templates #2205

@VegasVault

Description

@VegasVault

Description

When using MAUI with blazor template add a draggable component. Long press will recognize you are attempting to drag but no functionality is present.

Steps to Reproduce

  1. Create .NET MAUI Blazor App
  2. Create a draggable element and a dropzone
  3. Attempt to drag the draggable object to the dropzone

Expected Behavior

It should allow you to drag an element as it does on a browser.

Actual Behavior

OnDragStart fires but no actual functionality is present.

Basic Information

  • Version with issue: Preview 6 and 7

  • Last known good version: None

  • IDE: Visual Studio 2022 Preview 3.1

  • Platform Target Frameworks:

    • iOS: Untested
    • Android: Android 11 API 30 local device and Android 9 API 28 emulated
    • UWP: Untested
  • Nuget Packages:

  • Affected Devices: Physical and emulated

Screenshots

Reproduction Link

Workaround

Depends on

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:1Created by mkArtakMSFTarea-blazorBlazor Hybrid / Desktop, BlazorWebViewblockedWork that is currently blockeddiscussedCreated by mkArtakMSFT to help with planning temporarily. It will be removed after planning is done.externalpartner/webview2Issues depending on Edge WebView2t/enhancement ☀️New feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions