Skip to content

Commit

Permalink
fix: prevent svg from being the event target of oncontextmenu
Browse files Browse the repository at this point in the history
  • Loading branch information
joeybones committed Nov 12, 2024
1 parent 604c731 commit 83b8822
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/components/css/Keyboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 83b8822

Please sign in to comment.