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

Reset focus/zoom in mobile view on iPhone #2169

Open
buhaytza2005 opened this issue Oct 20, 2023 · 0 comments
Open

Reset focus/zoom in mobile view on iPhone #2169

buhaytza2005 opened this issue Oct 20, 2023 · 0 comments
Labels
feature Feature request ui Related to UI

Comments

@buhaytza2005
Copy link
Contributor

Is your feature request related to a problem? Please describe

I came across a situation on an iPhone (not sure if it affects Android too) where after the user selects a text box to input information the viewport focuses on the text box and zooms in a bit. After leaving the field the same zoom is maintained. This causes dialogs which are rendered at the correct size for the original viewport size to appear clipped.

Describe the solution you'd like

The viewport should reset or the dialog should render proportional to the zoomed viewport.
(A clear and concise description of what you want to happen.)

Describe alternatives you've considered

I thought about setting a smaller size for the dialog but it would mean that the fixed size would be too small for desktop users.

Original render at correct size and dialog fits nicely
image

On tap, the text box is centred and the the viewport zooms in
image

When submitting the form any dialogs that are rendered appear clipped due to the screen retaining the zoom
image

@buhaytza2005 buhaytza2005 added the feature Feature request label Oct 20, 2023
@mturoci mturoci added the ui Related to UI label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request ui Related to UI
Projects
None yet
Development

No branches or pull requests

2 participants