iphone sticky menu jquery onscroll ios 9
问题 This code was working fine on my iphone before updating to iOS 9.0.1 (13A404), but now the same code seems to be working only after finger release, or after the jQuery onscroll ends, when I do a quick swipe leaving the page scrolling... $(document).on('scroll', function(){ if( $(this).scrollTop() > 0){ $('.menu').addClass('sticky'); }else{ $('.menu').removeClass('sticky'); } }); The sticky menu just disappears until I release the finger up from the screen, losing the "stickying" effect in