From a82a387fa412324e1c4fc55bb9c5a2c318c8f181 Mon Sep 17 00:00:00 2001 From: xxxijustwei Date: Thu, 11 Sep 2025 16:14:12 +0800 Subject: [PATCH] feat: add stable scrollbar gutter to prevent layout shifts --- src/StickToBottom.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/StickToBottom.tsx b/src/StickToBottom.tsx index 1799466..c8790cd 100644 --- a/src/StickToBottom.tsx +++ b/src/StickToBottom.tsx @@ -155,6 +155,7 @@ export namespace StickToBottom { style={{ height: "100%", width: "100%", + scrollbarGutter: "stable both-edges", }} >