Closed ribborges closed 1 month ago
what does your capability file look like? does it have the necessary permissions? check the devtools console for errors.
My capabilities file:
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": [
"main"
],
"permissions": [
"core:default",
"core:window:default",
"core:window:allow-start-dragging"
]
}
I added the "core:window:default" and "core:window:allow-start-dragging" as it shows in the documentation: https://v2.tauri.app/plugin/window-customization/
you also need the other permissions mentioned in that page.
God, i feel so dumb right now 😅 Thank you
Describe the bug
I'm using react with tauri (V2) to create an app, but my customized window controls aren't working. Have i done something wrong?
The app renders correctly, but the buttons don't work.
Reproduction
Here is the WindowControl component code:
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response