From 83b88220f061e33a7b33b6c66ae4f91974da7cf5 Mon Sep 17 00:00:00 2001 From: Joe Hart Date: Tue, 12 Nov 2024 09:55:42 -0500 Subject: [PATCH] fix: prevent svg from being the event target of oncontextmenu --- src/lib/components/css/Keyboard.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/components/css/Keyboard.css b/src/lib/components/css/Keyboard.css index bbb9b602e..3747531d6 100644 --- a/src/lib/components/css/Keyboard.css +++ b/src/lib/components/css/Keyboard.css @@ -15,7 +15,9 @@ border-radius: 5px; } -.hg-theme-default .hg-button span { +.hg-theme-default .hg-button span, +.hg-theme-default .hg-button span svg + { pointer-events: none; }