chore: disable WebView keyboard shortcuts (#942)

This commit is contained in:
dongchengjie 2024-04-28 16:19:13 +08:00 committed by GitHub
parent 9e2c864117
commit f8339c7a9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,11 @@ if (!container) {
);
}
document.addEventListener("keydown", (event) => {
// Disable WebView keyboard shortcuts
event.preventDefault();
});
createRoot(container).render(
<React.StrictMode>
<RecoilRoot>