Private: Home › Forums › HTML Templates › Elvyre Retina Ready HTML5 Template › Freezes on Windows 8 (metro) and Windows Phone › Reply To: Freezes on Windows 8 (metro) and Windows Phone
March 24, 2015 at 10:18 am
#2591
Keymaster
Hi,
Can you please try to replace the script in “include.js”:
$("html").niceScroll().scrollstart(function(event) {
if (!is_touch_device() && event.end.y > 0) {
set_static_header(1);
}
}).scrollend(function(event) {
if (!is_touch_device() && event.end.y == 0) {
set_static_header(0);
}
});
with this:
$(window).scroll(function(event) {
if (!is_touch_device() && $(window).scrollTop() > 0) {
set_static_header(1);
} else {
set_static_header(0);
}
});
It seems that niceScroll script is responsible for this issue.
Vladimir