3 ms·
The way to get around that is to remove drop shadows as scrolling starts. When the scrolling is complete add the drop shadows back again. Drop shadows and alph
by jv22222 14y ago
The way to get around that is to remove drop shadows as scrolling starts. When the scrolling is complete add the drop shadows back again.
Drop shadows and alphas are the main issue, just need to manage them.
It's easy to do with a single css class added to the main body tag (i.e .isScrolling).
Then in the CSS use .isScrolling .myDiv { / no shadows / }
// On scroll start
$('body').addClass('isScrolling');
// On scroll stop
$('body').removeClass('isScrolling');
Works a charm!