Frage

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

War es hilfreich?

Lösung

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.

Andere Tipps

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" />
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top