HandleClick seems to only handle left clicks, but it looks like I can use onmouseup
and the MouseEventArgs.Button
property to detect the right click.
The problem is that the typical browser-provided context menu comes up. Is there a way to prevent that? I don't see anything like preventDefault() in Blazor.
Update: apparently we can do @onmouseup:preventDefault
but the context menu still shows