Community
Participate
Working Groups
Build Identifier: rap-runtime-1.4.0-M2-20100928-1646 Device : iPhone 4 I have a login page on iphone, when I try to enter the user name and password, iphone automatically zooms. When I click Login, the next screen is opened in the previous screen zoom resolution. It would be nice to allow the viewport size to be shrinked to normal during next page transition or atleast leaving the ability to developer to judge what should happen. The hardcoded value in rw-index.html is <meta name = "viewport" content = "initial-scale = 1.0, minimum-scale = 1.0" > I need a value of <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> Reproducible: Always
Okay, first of all i don't think there is any way to control the zoom on mobile Safari at runtime. You can control it to some extend using the meta-tags, but it can't be influenced after those are parsed. (I would be happy to be proven wrong on this.) So changing back the zoom automatically is not an option. If you want to disable zoom completely, you can always add a link to the application to your homescreen. It should then be started in fullscreen and with zooming disabled. If this is sufficient for your, i will close the bug. Otherwise we will have to see about other options...
I was not trying to control the scroll, I was looking at options. I would like to disable the scroll completely if I can. What you are saying is have a welcome screen other than my RAP Startup page, and I could start my RAP from there. Is that right? I will give this a shot and see how it works, I will update with my finding.
Since there was no more input from the reporter, i will close this as wontfix, assuming the issue is solved for him. Bug may be reopend should new information arise.