Skip to content

Commit

Permalink
Merge pull request #70 from rhyskoedijk/feature/dismiss-modals-on-rig…
Browse files Browse the repository at this point in the history
…ht-click

Dismiss Modals and Menus on "right click" too
  • Loading branch information
skclusive authored Nov 4, 2020
2 parents ffc4553 + e783885 commit 6e8240c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Modal/src/SimpleBackdrop/SimpleBackdrop.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
style="@_Style"
aria-hidden
@onclick="HandleClickAsync"
@oncontextmenu="HandleClickAsync"
@oncontextmenu:preventDefault="true"
@attributes="Attributes">
@ChildContent?.Invoke(Context)
</div>

0 comments on commit 6e8240c

Please sign in to comment.