Closed Bug 1418411 Opened 7 years ago Closed 6 years ago

Scroll events take a while to fire, causing lag in UI

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

57 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: simonds.jordan, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: go to https://codepen.io/jexordexan/pen/QqvopM scroll up down, left and right. Actual results: The headers and first columns that are supposed to remain fixed upon scroll events, are lagging behind. Expected results: The headers and columns should freeze without lagging behind the scrolling content. This can be seen in Chrome
Component: Untriaged → Event Handling
Product: Firefox → Core
This sounds like apz issue, but I could be wrong.
Yeah this is basically expected behaviour with APZ. Upon scrolling there is a warning in the console that explains that the page is using a scroll-linked effect which is not going to behave as expected because of async scrolling. In this case it looks like the page author should be using position:sticky CSS instead which would accomplish the same effect without the lag.
Hi Reporter, you may want to try using position:sticky CSS. According to comment 2, this bug can be closed as invalid as the reported behavior is expected with APZ?
Flags: needinfo?(simonds.jordan)
Priority: -- → P3
Close per comment 2 and 3.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(simonds.jordan)
Resolution: --- → INVALID
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.