From 7f350ae0f46c919db6c097c0f615bd2281fd338a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 23 Nov 2021 18:39:36 +0000 Subject: [PATCH] Prevent programmatic scrolling within truncated room sublists (#7191) --- 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 3a7bbc2373..fdc850fbb7 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