How to solve the problem of mobile browser page clicking without jumping browser double clicking to enlarge web page

  • 2021-07-01 06:34:02
  • OfStack

Mobile web Web Page Project

1. angluar js 1.4. 6

In the process of web project development, It can be accessed normally with PC browser. IOS device browser can also be accessed normally, but when using some browsers of Android to access, the link does not jump occasionally, and there is no response after clicking (I use angluar js route for single-page application jump). At this time, the path of the address bar has been updated to the clicked address, and double-clicking the page will enlarge (follow this phenomenon to find the problem)

Nowadays, browsers on mobile devices such as mobile phones or tablets have the setting of double-click zoom in by default. How to make double-click not zoom in?

Solution:

You can add meta to the header of the page


<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />

Related articles: