From bb2c4a8d27d866b3d9b3ce8b51f3c54a4e7a1c45 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 23 Nov 2021 15:08:39 +0000 Subject: [PATCH] Prevent programmatic scrolling within truncated room sublists --- res/css/views/rooms/_RoomSublist.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/res/css/views/rooms/_RoomSublist.scss b/res/css/views/rooms/_RoomSublist.scss index 3a7bbc2373a..fdc850fbb73 100644 --- a/res/css/views/rooms/_RoomSublist.scss +++ b/res/css/views/rooms/_RoomSublist.scss @@ -187,6 +187,7 @@ limitations under the License. .mx_RoomSublist_tiles { flex: 1 0 0; overflow: hidden; + overflow: clip; // need this to be flex otherwise the overflow hidden from above // sometimes vertically centers the clipped list ... no idea why it would do this // as the box model should be top aligned. Happens in both FF and Chromium