debugging - Responsive website doesn't scroll smoothly on iPhone -
i having troubles scrolling on website on iphone.
what mean normally, when start scrolling , release display, site keep scrolling bit on iphone. site, doesn't. remove finger display, stop scrolling. if scrolling sticky.
i have no idea should begin debug problem, why not posting code (i'd have post complete website). issue not showing on nexus 5. have had issue on 2 different iphone 5.
i looking points start debug problem right now.
apply script on master page means if have common layout page :
$(document).ready(function(){ var deviceagent = navigator.useragent.tolowercase(); var agentid = deviceagent.match(/(ipad|iphone|ipod)/i); if (agentid) { $('body').css('-webkit-overflow-scrolling', 'touch'); } });
Comments
Post a Comment