React-native-auth0: How to disable zoom-in

Created on 19 Jan 2018  路  3Comments  路  Source: auth0/react-native-auth0

When I focus input element, the screen zooms-in. How do I disable zoom?

Screenshot:

simulator_screen_shot_jan_18__2018_21_43_22

I found scalesPageToFit makes disable zoom in the doc.

Most helpful comment

I managed to fix this by editing the HTML code of login page (https://manage.auth0.com/#/login_page). Edit the original viewport meta to this one:

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

All 3 comments

Same here

Did scalesPageToFit help?

I managed to fix this by editing the HTML code of login page (https://manage.auth0.com/#/login_page). Edit the original viewport meta to this one:

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

Was this page helpful?
0 / 5 - 0 ratings