Issue metadata
Sign in to add a comment
|
document.body.scrollTop always returns 0
Reported by
to.lufam...@gmail.com,
Sep 27 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Steps to reproduce the problem: 1. Open a Web page with a scrollbar (e.g. search for results on google) 2. Open the developer console and type document.body.scrollTop. It will show 0. 3. Scroll the page a bit. Type document.body.scrollTop again in the developer console. It still shows 0. What is the expected behavior? document.body.scrollTop should return the number of pixels an element is scrolled veritcally. What went wrong? document.body.scrollTop always returns 0 Did this work before? Yes Version 60.0.3112.113 (Official Build) (64-bit) Chrome version: 61.0.3163.100 Channel: stable OS Version: OS X 10.11.6 Flash Version:
,
Sep 27 2017
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by woxxom@gmail.com
, Sep 27 2017