From 7919400035c170a40db29bc4e7ea43e062c64ec7 Mon Sep 17 00:00:00 2001 From: Arsalan Yaldram Date: Mon, 11 Jul 2022 11:11:15 +0530 Subject: [PATCH] fix: remove collapse animation from propertypane. (#15017) --- .../src/pages/Editor/PropertyPane/PropertySection.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx b/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx index ab800dfd27..f377193d2e 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx @@ -18,6 +18,10 @@ const SectionWrapper = styled.div` z-index: 1; position: relative; } + + .bp3-collapse { + transition: none; + } `; const SectionTitle = styled.div` display: grid; @@ -38,7 +42,7 @@ const SectionTitle = styled.div` display: flex; align-items: center; justify-content: center; - transition: transform 0.2s; + transition: none; &.open-collapse { transform: rotate(90deg); } @@ -87,7 +91,7 @@ export const PropertySection = memo((props: PropertySectionProps) => { /> {props.children && ( - +