From e6b4eaa474615d0f256044ad55090460d58ba48c Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 13 Oct 2021 11:21:45 +0100 Subject: [PATCH] add review changes from rystew & LianaHus --- .../src/lib/remix-ui-vertical-icons-panel.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx b/libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx index 6b78d40205..7cbb790cc3 100644 --- a/libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx +++ b/libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx @@ -107,6 +107,10 @@ export function RemixUiVerticalIconsPanel ({ scrollableRef={scrollableRef} /> + {scrollableRef.current && scrollableRef.current!.scrollHeight > scrollableRef.current!.clientHeight + ? + : null + }
500