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)
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 scr
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:
However, that will completely disable zooming and that may not be what you
want. I have als
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
Hi Stefan,
thank you very much. This solved the problem for 99%.
(Sorry for the delay. I needed some weeks to get an iPad with IOS 9.1)
One thing remains: Everytime, when you enter some text somewhere (e. g.
when you log in), the screen is zoomed in, which is quite normal I think.
But when typi
Try to add the following line to the head section in your HTML file:
I think that the viewport meta tag was introduced by Apple in Safari on iOS
and it's now supported by several other mobile web browsers as well. As far
as I know, desktop we browsers ignore the viewport meta tag.
/Stefan
D
On Saturday, October 17, 2015 at 3:18:11 PM UTC+2, james0072 wrote:
>
> Did you use the viewport in the html?
>
> https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
>
No, but the page you pointed to sounds like there could be a solution.
But if I add a viewport tag, what a
Did you use the viewport in the html?
https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
On Friday, October 16, 2015 at 6:31:22 PM UTC-8, Magnus wrote:
>
> Hi,
>
> my GWT app shows wrong on iPad/Safari. It is displayed extremely zoomed so
> that you o
Hi,
my GWT app shows wrong on iPad/Safari. It is displayed extremely zoomed so
that you only see a small section and have to scroll a lot.
When thinking about the code, I don't know where to start. The app works
good in IE, FF and Chrome.
Are there any things you have to pay attention