mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 14:05:41 +08:00
chore: disable WebView keyboard shortcuts (#942)
This commit is contained in:
1 parent
26a3dbcbe1
commit
2e64d62ca4
1 file changed
+5
@@ -24,6 +24,11 @@ if (!container) {
|
||||
);
|
||||
}
|
||||
|
||||
document.addEventListener("keydown", (event) => {
|
||||
// Disable WebView keyboard shortcuts
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
createRoot(container).render(
|
||||
<React.StrictMode>
|
||||
<RecoilRoot>
|
||||
|
||||
Reference in new issue
Block a user