From 04232282141a9f3e974bde1201f1f8ebaff32d79 Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Fri, 3 Nov 2023 08:25:15 +0200 Subject: [PATCH] remove prevent default on key press --- src/renderer/frame/views.cljs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/renderer/frame/views.cljs b/src/renderer/frame/views.cljs index c1b4853f..1eff1b78 100644 --- a/src/renderer/frame/views.cljs +++ b/src/renderer/frame/views.cljs @@ -83,7 +83,6 @@ ;; This is a different browsing context inside an iframe. ;; We need to simulate the events to the parent window. on-keyboard-event (fn [event] - (.preventDefault event) (.dispatchEvent js/window.parent.document (js/KeyboardEvent. (.-type event) event)))]