Issue metadata
Sign in to add a comment
|
scrollTop does not work
Reported by
carlo.ta...@gmail.com,
Sep 28 2017
|
||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Steps to reproduce the problem:
1. var yPos = $('body').scrollTop();
What is the expected behavior?
yPos variable always set to 0
What went wrong?
With last chrome update scrollTop function stopped to work.
Did this work before? Yes until 26th september it worked fine
Chrome version: 61.0.3163.100 Channel: stable
OS Version: 10.0
Flash Version:
,
Sep 28 2017
Duplicate of issue 737633 , apparently. >This is done on purpose. To support interop with other browsers the scrolling element has become the documentElement in standards mode. In some cases is it the body element in quirks mode. See the intent to ship here: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/X64Sg16RhT4/6ZiW7Dt8CAAJ >Really you should be using document.scrollingElement to be told what the scrolling element is. This attribute was added for interop ability.
,
Sep 28 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by carlo.ta...@gmail.com
, Sep 28 2017