Scrolling on slack feels bad; momentum scrolls get interrupted when content is added
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
People
(Reporter: mstange, Unassigned)
Details
Steps to reproduce:
- Go to a slack channel which has enough history to fill multiple screenfuls.
- 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.
- 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.
Comment 1•2 years ago
|
||
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.
Comment 2•1 year ago
|
||
After debugging this a bit with apz.minimap.enabled it is apparent that this is due to a smaller scroll range than expected.
| Reporter | ||
Comment 3•1 year ago
|
||
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.
Description
•