CSS scroll snapping JavaScript scroll position change bug.

UNCONFIRMED
Unassigned

Status

()

Core
Layout
P3
normal
UNCONFIRMED
a year ago
11 months ago

People

(Reporter: joe.jordan.brown, Unassigned)

Tracking

52 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36

Steps to reproduce:

Using Windows 10, Firefox 52.0.1 (32-bit).

When using CSS scroll snapping and changing the scroll position via JavaScript using scrollTop, scrollTo, scrollBy etc it only snaps to the correct position when clicking the document or clicking the scrollbar. 

You can see working example in plunker.
http://embed.plnkr.co/muToSNDeqz94rHX4yNJZ/


Actual results:

It scrolls to the exact position and doesn't snap to the relevant position.


Expected results:

Snap to the relevant position.

Updated

a year ago
Component: Untriaged → Layout
Product: Firefox → Core

Updated

11 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.