Question

I used zurb foundation 4 for my project, it work well but when I try to swipe horizontally with a finger (on mobile device) does this:

ipad view

instead, i want it fixed for the width.

any tips are welcome, thanks in advance

Was it helpful?

Solution

Change the meta tag for your viewport to the following:

<meta name="viewport" content="width=device-width, maximum-scale = 1.0" />

This will fix your issue and consequently disable zoom. Since most native applications don't allow zooming of the entire interface this shouldn't be much of an issue as long as your UI design is targeting the device.

OTHER TIPS

Put this in application layout

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no, minimum-scale=1" />
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top