Tuesday, November 24, 2015

Re: GWT app shows wrong on iPad/Safari?

Hi Magnus,

I'm not sure how to make the viewport meta tag conditional on the client side so that it's only picked up by iOS Safari web browsers.

However, if you can generate your main HTML page dynamically on the server side, I guess that you can detect the type of user agent (i.e. web browser) and in case of iOS Safari add the viewport meta tag to your main HTML page.

Maybe someone else can suggest a better solution for your problem?


Den torsdag 19 november 2015 kl. 04:37:17 UTC+1 skrev Magnus:
Hi Stefan,

my app always worked until a user of IOS 9.1 said that the app is extremely zoomed. Then I asked here and applied the viewport meta tag for the first time. The IOS user said, it was ok now. But now the app is displayed wrong on Android.

The app adapts its GUI to the width of the screen. However, on a smartphone the screen may be so small that the app shrinks so much that you cannot use it anymore. In other words, there is a minimum width and if this does not fit onto the screen, there must be horizontal scrollbars.

Without IOS everything was ok. Can't we apply a viewport meta tag for IOS devices only and leave the others alone?


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