David Baker a4aa6dfcd7 Debounce read marker update on scroll
Reverts https://github.com/matrix-org/matrix-react-sdk/pull/6751 in
favour of debouncing the updates to read markers, because it seems
allowing the scroll to be 1px away from the bottom was important for
some browsers and meant they never got to the bottom.

We can fix the problem instead by debouncing the update to read
markers, because the scroll state gets reset back to the bottom when
componentDidUpdate() runs which happens after the read marker code
does a setState(). This should probably be debounced anyway since
it doesn't need to be run that frequently.

Fixes https://github.com/vector-im/element-web/issues/18961
Type: bugfix
2021-09-09 15:58:19 +01:00
..
2021-07-23 10:35:10 +01:00
2021-08-12 10:58:56 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-07-23 10:35:10 +01:00
2021-08-25 09:34:16 +01:00
2021-07-23 10:35:10 +01:00
2021-07-23 10:35:10 +01:00
2021-08-12 12:03:14 +01:00
2021-09-07 11:02:38 +01:00
2021-09-07 09:57:49 +01:00
2021-07-26 12:21:58 +02:00
2021-06-29 13:11:58 +01:00