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

it allows zoom-gesture when PreferencesModal is open #732

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

gitdevjin
Copy link
Contributor

Description

This fixes #731

I implemented the second solution, enabling zoom-in functionality when the PreferencesModal is open on both mobile and desktop

How I tested

I tested it on an iPhone 15 Pro and Google Chrome on desktop, and it now allows zoom-in, zoom-out, as well as scrolling when zoomed in

Test Screenshot

Zoomed in

IMG_0734

Zoomed out

IMG_0735

@humphd humphd requested a review from menghif November 16, 2024 18:31
Copy link
Collaborator

@menghif menghif left a comment

Choose a reason for hiding this comment

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

This fixes the bug!

You should also increase the textbox font size to at least 16px to prevent the automatic zoom on safari iOS.

https://css-tricks.com/16px-or-larger-text-prevents-ios-form-zoom/

font-size in input element modified to prevent auto-zoom-in in Safari
@gitdevjin
Copy link
Contributor Author

gitdevjin commented Nov 27, 2024

@menghif Thank you always for your kind feedback,
and apologies for the late reply—I've been swamped with assignments as the semester comes to a close.
I’ve adjusted the font size of input elements in the Preference Modals to prevent Safari’s auto-zoom-in behavior.

Copy link
Collaborator

@menghif menghif left a comment

Choose a reason for hiding this comment

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

LGTM!

@humphd humphd merged commit 48d82d8 into tarasglek:main Dec 8, 2024
3 checks passed
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.

PreferencesModal not allwoing zoom-gesture causes a problem on iPhone
3 participants