D
D
dalnick2020-05-08 12:00:41
JavaScript
dalnick, 2020-05-08 12:00:41

How to make browser ignore double taps on html page?

There is a game on html5 with a motion control, when you double tap on phones, the browser zooms in on the page, when you double tap again, it zooms out again, and it's very inconvenient how to make the browser ignore double clicks and no actions affect the scale of the page. Post the code plz...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ma4t, 2020-05-08
@dalnick

one of the options is to add the
touch-action: manipulation property to the desired html element;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question