How to avoid right click mouse event trigger in desktop web?

I used ionic framework to build my web app.
But the problem is:
I want users to right click the link to show the default context of menu.
However, when users right click the link, users navigate to the new page directly.
It seems that a event is triggered to navigate to the next page when right click the mouse
How to avoid trigger the event in desktop web?

can everyone help?
thank you!

i don’t think ionic framework is suitable for web app… as I read one of the post here…

Hi koman2019,
Did you get solution for this issue.
I’m also facing same issue and observe that getting event.type as “click” and event.which as ‘1’ for both click and right-click(mousedown event) events…