I have made a responsive website integrated with nodejs, which works fine on all devices.
But in the Windows Phone IE browser, the webpage is not scrolling down, I don't know what's causing this.
/*css*/
@media (max-width: 400px) {
@-ms-viewport {
width: 320px;
}
}
/*js*/
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement("style");
msViewportStyle.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}"));
document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
}
The responsiveness had some issues on Windows Phone, so I used the above code patches to fix the issue. But the scrolling issue remains, do someone know how to fix this?