Closed Bug 1865397 Opened 2 years ago Closed 1 year ago

Scrolling on slack feels bad; momentum scrolls get interrupted when content is added

Categories

(Core :: Panning and Zooming, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: mstange, Unassigned)

Details

Steps to reproduce:

  1. Go to a slack channel which has enough history to fill multiple screenfuls.
  2. Scroll up for a few pages in order to cache multiple pages of history, and in order to "evict" some of the newer messages at the bottom from the DOM.
  3. On macOS, do a downwards fling to reveal the newer messages.

Expected results:
At some point early in the fling (but after you've released your fingers), when the newer messages are added into the DOM, the fling should continue normally.

Actual results:
When the messages are added, scrolling stops.

Could you provide a screen recording of the behavior? I've tried to reproduce and haven't had success, so I must not be following the steps quite right.

Flags: needinfo?(mstange.moz)

After debugging this a bit with apz.minimap.enabled it is apparent that this is due to a smaller scroll range than expected.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID

Some more context:

It looks like Slack is only keeping a very small "window" into the channel messages in the DOM. When doing the fling scroll, I was hitting the edge of the loaded range.

The problem would be avoided if Slack kept the window larger, or if it reserved empty space above and below the loaded window.

Flags: needinfo?(mstange.moz)
You need to log in before you can comment on or make changes to this bug.