From 95a8a59845a66c7c6cf0451a3f7772640438e680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 31 Oct 2018 12:50:44 +0100 Subject: [PATCH] restored transition --- .../core/components/Animations/SlideDown.tsx | 6 ++++-- public/app/features/api-keys/ApiKeysPage.tsx | 20 ++++++++++++------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/public/app/core/components/Animations/SlideDown.tsx b/public/app/core/components/Animations/SlideDown.tsx index 497af02ade9..70dacd73849 100644 --- a/public/app/core/components/Animations/SlideDown.tsx +++ b/public/app/core/components/Animations/SlideDown.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React from 'react'; import Transition from 'react-transition-group/Transition'; interface Style { @@ -6,9 +6,11 @@ interface Style { overflow?: string; } -const defaultMaxHeight = '200px'; // When animating using max-height we need to use a static value. +// When animating using max-height we need to use a static value. // If this is not enough, pass in