I don't know about removing the <meta> tag completely -- I didn't try that but I think the viewport definition is required in some form. To recreate the problem you just have to make a couple of small changes to the viewport statement in the header as shown in the initial post. No change to the iUI sample is required.
On Dec 2, 1:16 am, Remi Grumeau <[email protected]> wrote: > So to recreate the problem, we just have to take the iUI sample and remove > this header ? > > Remi > > Le 1 déc. 2009 à 11:19, skip a écrit : > > > > > 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 > > athttp://groups.google.com/group/iphonewebdev?hl=en. > > Remi Grumeau > (+33) 663 687 206http://www.remi-grumeau.com > > smime.p7s > 2KViewDownload -- 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.
