Home › Forums › JavaScript › Safari/IE translate3d lagging/ghosting › Reply To: Safari/IE translate3d lagging/ghosting
November 30, 2016 at 10:03 am
#248488
Shikkediel
Participant
Actually, there’s probably a way to improve the IE experience. I see the page is using mousewheel.js
. With that it would be quite easy to make the scroll event fire yourself.
jQuery(window).mousewheel(function(turn, delta) {
turn.preventDefault();
var current = $(this).scrollTop();
if (delta < 0) $(this).scrollTop(current+135);
else $(this).scrollTop(current-135);
});
It hijacks default scrolling behaviour though which isn’t usually viewed as correct UI…
Edited – up and down were reversed.