Open
Bug 1471212
Opened 6 years ago
Updated 2 years ago
by using Scroll or ScrollBy with the behavior smooth to the top of the webpage, you are unable to scroll down again by js
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: rk.westberg, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180605171542 Steps to reproduce: By using either window.scroll({top: 0, behavior: 'smooth'}) || window.scrollBy( { top: -1* (window.pageYOffset), behavior: 'smooth' }); And then trying to scroll down again by window.scrollBy( {top: amount, left: 0} ) Makes the browser freeze at the top and you are unable to properly scroll down by javascript anymore. Actual results: It properly scroll up to the top of the webpage, but trying to scroll down again (by js) is not possible without the browser scrolling up to the top again. Expected results: I expect to be able to properly scroll down after scrolling to the top of the webpage.
Updated•6 years ago
|
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•