From 9cdddaeee966565424fac8cd611d0dc86b4506f2 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Fri, 29 Oct 2021 01:20:52 +0100 Subject: [PATCH] change chevron display logic --- .../vertical-icons-panel/src/lib/components/Chevron.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx b/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx index c3c5c472ba..dfe8c47764 100644 --- a/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx +++ b/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx @@ -9,7 +9,7 @@ export interface ChevronProps { function Chevron (props: ChevronProps) { return ( <> - { props.divElementRef.current && props.divElementRef.current.scrollHeight > props.divElementRef.current.clientHeight + { props.divElementRef.current && props.divElementRef.current.scrollHeight > 600 ? : null } )