- From: Mike Sherov <notifications@github.com>
- Date: Thu, 16 Apr 2015 15:12:04 -0700
- To: w3ctag/spec-reviews <spec-reviews@noreply.github.com>
Received on Thursday, 16 April 2015 22:12:44 UTC
This originally surfaced as a bug in jQuery/jQuery UI. IMO, scrollingElement is just another hack around the issue. The canonical, non-UA sniff, AFAIK, is to do `$html.scrollTop() || $body.scrollTop()`. The *problem* was that lots of people were using `$html.scrollTop() + $body.scrollTop()`, which is problematic when the body or the html element have `overflow: scroll;` applied. --- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/spec-reviews/issues/51#issuecomment-93851170
Received on Thursday, 16 April 2015 22:12:44 UTC