primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Tree: Drag and Drop not working in Windows WebView2

Open 00jeser opened this issue 2 years ago • 1 comments

Describe the bug

I have an app on Tauri+Angular and p-tree can start dragging items, but it can't drop it If I run same code in chromium-based browser it all works

Environment

Tauri+Angular

Reproducer

No response

Angular version

16.0.2

PrimeNG version

16.0.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.4.0

Browser(s)

Tauri(WebView2)

Steps to reproduce the behavior

No response

Expected behavior

No response

00jeser avatar Jul 27 '23 12:07 00jeser

I encountered this issue when using Tauri v2 as well. I resolved it by configuring the tauri.conf.json file.

"app": {
    "windows": [
      {
        ...
        "dragDropEnabled": false
      }
    ]
}

nuheci avatar Nov 14 '24 07:11 nuheci