dockview icon indicating copy to clipboard operation
dockview copied to clipboard

Dockview doesn't work in Tauris' webview

Open Anatoly03 opened this issue 3 months ago • 3 comments

Describe the bug Dockviews' expected behaviour with drag and hold does not work.

To Reproduce I used the simple Vue Layout code from the sandbox.

Steps to reproduce the behavior:

  1. Add Tauri to
  2. Build and run the application in dev mode.
  3. Try to drag and hold.

Expected behavior Panels should be rearranged.

Screenshots

https://github.com/user-attachments/assets/98db2fe5-4351-4e6d-9694-4984650e74c8

Desktop (please complete the following information):

  • Browser: Software native webview/ Tauri
  • Version: "dockview-vue": "^4.7.1",

Anatoly03 avatar Sep 09 '25 17:09 Anatoly03

I happened to run into this - it can be fixed by setting dragDropEnabled to false in your tauri window settings. Considering what it says about HTML5 drag and drop, I don't think this is an issue with dockview.

Metalit avatar Sep 10 '25 01:09 Metalit

@Metalit Thank you for commenting!

Did you also manage to implement new windows being created from Dockviews’ drag and hold - outside of the desktop app? If yes would you mind open sourcing the setup as a template?

I plan to do it today, but I suppose there’s no need to re-invent the wheel if it’s been done.

Anatoly03 avatar Sep 10 '25 10:09 Anatoly03

No, I don't have any plans to have anything outside a single desktop window in my project. I do have floating groups within the main dockview, which didn't have any issues, but haven't done anything with popouts.

Metalit avatar Sep 11 '25 03:09 Metalit