How to disable right click context menu or customize it in rust without change js code? #11808
-
How to disable right click context menu or customize it in rust without change js code |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
you currently must use js to disable/overwrite the native context menu (listen to the If you only care about windows, you can also use the webview rust bindings and do https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/context-menus?tabs=csharp#disabling-context-menus |
Beta Was this translation helpful? Give feedback.
this is the entrypoint to use the bindings in tauri: https://docs.rs/tauri/2.0.0/tauri/webview/struct.WebviewWindow.html#method.with_webview