Tuesday, November 17, 2015

Re: GWT app shows wrong on iPad/Safari?

Hi Magnus,

Doesn't the screen go back to non-zoomed mode if you double tap on it?

I guess that one way of preventing the auto zoom feature for input fields in IOS is to add user-scalable=no like this:

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

However, that will completely disable zooming and that may not be what you want. I have also read somewhere that if the font size is 16px then IOS will not auto zoom but I haven't tested it myself.

You say that this solution doesn't work on Android. Is your web app responsive, i.e. does it adapt to the current screen/window size? If not, then you should probably not use the viewport meta tag at all.

/Stefan


Den tisdag 17 november 2015 kl. 13:45:55 UTC+1 skrev Magnus:
Hi,
in the meantime I found that the solution for IOS made the GUI unusable for Android.
The display is shrinked to fit on the screen. There are no scrollbars anymore.

Isn't there a solution for this?
Or could you limit the viewport tag for ios devices only?

Thanks
Magnus

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment