Does anyone know if there is a possibility to remove the auto zoom on input fields in a webview on IOS6 ?
We have made a mobile site that is shown in a webview, and on IOS5- it works perfektly but when we try and open it on an iPad with a fixed width/height then the hole content is moved when entering a input field.
For IOS5- the meta tag viewport with user-scalable set to no works perfectly but on IOS6 i breaks.
Anyone have a clue?
try this.
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1,width=device-width,user-scalable=0">
it works for me.
Related
I'm experimenting with fullPage.js Responsive Slides Extension.
See https://alvarotrigo.com/fullPage/extensions/responsive-slides.html.
Wondering about responsive behavior on my phone: Samsung Galaxy S6.
On this phone, I don't see the site switch to its intended mobile appearance. Specifically, the horizontal rows aren't automatically switching to a completely vertical experience, and the elements aren't resizing.
I do see that site respond accurately using Developer Tools in Chrome and other browsers.
What's up do you think? Or how would you figure out what the issue is? Thanks in advance.
That's because the site is not using the viewport meta tag and therefore the pixels are not the real phone ones.
You can use the following meta tag and see how it works as expected:
<meta name="viewport" content="width=device-width,initial-scale=1">
My site have a fixed viewport width set like so:
<meta name="viewport" content="width=1260px, maximum-scale=1">
This makes the site "shrink" to fit the width of the device, and works well on any browser I use on iOS or Android.
I want to know if there's any way to preview this on developer tools responsive mode in a Firefox or Safari desktop browser. I'm only able to preview this on Chrome.
In Chrome it shrinks according to the width. In Firefox/Safari it keeps 1:1 pixel ratio.
The Responsive Design Mode of the Firefox DevTools currently doesn't take the information of the <viewport> element into account.
This feature is requested in bug 774055.
I have created a parallax page.
On my desktop everything works great but if I view it on a mobile device the image is blown up so far I can literally count the pixels.
I have no idea what causes this.
Even so I have no idea how to fix this....
I don't even know where to start besides Google.
I found one topic where somebody states that this is a Safari issue.
Anyone?
I can't really create a JSFiddle or something because, like you stated, it's made in WordPress.
However please see the attached images. Maybe somebody can see at least where the problem lies and maybe tell me what causes this (global indication)
Desktop:
Mobile (iPhone)
You might want to try swapping background-size:cover to background-size:contain. This will ensure the background image fits both its width and height within the window, but could create some blank space. With 'cover', the whole area is guaranteed to be filled, but the image might not be entirely contained which seems to be what's happening now.
Have you tried to add:
<meta name="viewport" content="initial-scale=1.0">
to head of your HTML?
Or if that is not enough, try:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
It tells the mobile browser to use device width and to use full initial zoom level.
I've got a site running aimed at touchscreens running Firefox (very specific I know, but it will hopefully help with a solution)
On the page in question, I've got a d3 map that I'm trying to enable pinch zooming for, however any pinch gesture is causing Firefox to set the zoom for the whole page. Is there a way to prevent the page zooming and only allow the map to zoom?
It's not an issue if I have to modify Firefox config settings but I'd prefer to avoid it and rely entirely on javascript if possible.
Thank you in advance
You might be able to do this using the viewport metatag and Hammer.js
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
This will disable the default browser zoom.
You can then use Hammer.js to capture gesture events which you will then pass to your D3.js code to zoom your map
I've tried everything but cannot get my client's website to scale on my iPhone 5.
smalldotdesign.com/clients/ops
<meta name="viewport" content="width=device-width, initial-scale=0.3, minimum-scale=0.25, maximum-scale=5.0, user-scalable=1;" />
This code is in the correct place in meta because the site is scaling automatically... but wont let me pinch zoom. Can anyone help me with this? I've tried everything I can find. I've been messing with it for an hour and looking at all the forums but they all say the same thing.
Any guidance would be much appreciated. The page will not zoom even when the meta tag is removed. Maybe there is something in the CSS that could cause this?