0

I'm trying to make a Hybrid app. In a webpage, there are many buttons written like

<a href="#">
    <div style = "height: 50px; width: 50px; background-color: #00ff00; margin: 32px"></div>
</a>

When I tap these buttons and hold my thumb, there will be a grey mask on top of the buttons. How can I disable this.

Test Device: iPhone X, both real machine and simulator

Example

Desmond
  • 767
  • 1
  • 6
  • 18

1 Answers1

-1

Seems it's to do with <a href="#">. Removing href solves the problem. I just need to find a way to preventDefault.

Desmond
  • 767
  • 1
  • 6
  • 18