We notice a strange behaviour related to window resizing. In our iUI
application we have to deal with some unpredictable formatting coming
from outside data sources. For this reason we set the user-scalable
option to "yes" using the <meta> tag as follows.
<meta name="viewport"
content="width=devicewidth; initial-scale=1.0; maximum-
scale=10.0; minimum-scale=1.0; user-scalable=1;"/>
This works OK and the iUI application runs pretty much as expected
BUT. Have a look at the iUI samples/music program to see the problem
(using the above meta tag). Select the "ThemeSwitcher" option. Click
on the drop down select box. A new pane opens to allow the selection
and the entire screen resizes larger about 40%. I suppose this is OK
but when the selection is complete and the select pane is closed the
resize remains. The user can zoom back down with the pinch gesture
but we want the screen to return to "normal" without user
intervention.
I have tried everything I can think of to either prevent this resize
or to reverse it after the select and have failed dismally. I am not
even sure what code is executing to do this resize. Presumably inside
webkit but I can't find any webkit options that seem to have a bearing
on this. Can anyone suggest a fix? Has anyone else noticed this?
Does anyone else care?
This doesn't happen with Desktop Safari of course only with the iPhone
version.
Thanks,
Skip
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.