I am currently developing a progressive web app for mobile devices. One feature I have implemented is the ability for users to long-press a button with their finger, triggering a popup menu that includes options like "copy link address," "copy text," and "share link."
My issue arises when trying to disable this popup functionality without compromising the button's click function. The button is intended to redirect users to a different site.
Here is the HTML code for the button:
<a class="Button-one" title="Relevant Title" href="HTML/test.html">BTN-1</a>
While I could easily use CSS to apply pointer-events: none;
, doing so would negate the primary purpose of the button.