Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase input font size to avoid zoom on iOS #1473

Merged
merged 2 commits into from
Sep 22, 2021

Conversation

kpuputti
Copy link
Contributor

@kpuputti kpuputti commented Sep 21, 2021

If the input font size is smaller than 16px, iOS zooms in the page when the input gets focus. This PR changes the font size from 14px to 16px on mobile to avoid extra zooming.

Screenshot with the current 14px font size

input-14px

When focusing on the input:

input-14px-focus

Screenshot with the proposed 16px font size

input-16px

Copy link
Contributor

@Gnito Gnito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Changelog missing.
(Perhaps the other PR should be merged first.)

If the input font size is smaller than 16px, iOS zoom in the page when
the input gets focus.
@kpuputti kpuputti force-pushed the increase-input-font-size-for-ios branch from 019618b to fd5f999 Compare September 22, 2021 09:17
@kpuputti kpuputti merged commit bf11bdb into master Sep 22, 2021
@kpuputti kpuputti deleted the increase-input-font-size-for-ios branch September 22, 2021 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants