javascript - Single page app viewport mobile using Foundation -


i using foundation responsive website , have problem mobile devices not scaling viewport when load page via our ng-include. loads new content page , width of page breaks , requires horizontal scrolling.

this doesn't happen in devices such galaxy note 3/4, happen in devices identical resolutions, such iphone 6 plus. have viewport attribute , scaling set:

<meta name="viewport" content="width=device-width, initial-scale=1, target-densitydpi=device-dpi;"> 

any figuring out why doesn't scale when load new dynamic content single page application appreciated. i'm not sure if it's related (just thought of it), use document equalizer reflow often:

$(document).foundation('equalizer','reflow'); 

i needed add min , max scale. although didn't test it, imagine needed add max scale, content flowing off screen.

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

Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -