mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
chore: disable WebView keyboard shortcuts (#942)
This commit is contained in:
parent
9e2c864117
commit
f8339c7a9a
|
@ -24,6 +24,11 @@ if (!container) {
|
|||
);
|
||||
}
|
||||
|
||||
document.addEventListener("keydown", (event) => {
|
||||
// Disable WebView keyboard shortcuts
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
createRoot(container).render(
|
||||
<React.StrictMode>
|
||||
<RecoilRoot>
|
||||
|
|
Loading…
Reference in New Issue
Block a user