Skip to content

Commit

Permalink
Merge pull request #2397 from joeybones/fix-handler
Browse files Browse the repository at this point in the history
fix: prevent svg from being the event target of oncontextmenu
  • Loading branch information
hodgef authored Nov 12, 2024
2 parents 604c731 + 83b8822 commit 6792f78
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 6792f78

Please sign in to comment.