chore: disable WebView keyboard shortcuts (#942)

This commit is contained in:
dongchengjie authored and GitHub committed 2024-04-28 16:19:13 +08:00
1 parent 26a3dbcbe1
commit 2e64d62ca4
1 file changed
+5
+5
View File
@@ -24,6 +24,11 @@ if (!container) {
);
}
document.addEventListener("keydown", (event) => {
// Disable WebView keyboard shortcuts
event.preventDefault();
});
createRoot(container).render(
<React.StrictMode>
<RecoilRoot>