Dockview doesn't work in Tauris' webview
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:
- Add Tauri to
- Build and run the application in dev mode.
- 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",
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 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.
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.