From b15a12d4e12a34cd0770df0adffc0408e4a857e1 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 5 Aug 2020 13:45:39 -0400 Subject: [PATCH] Fix details initial height when open; closes #160 --- src/components/details/details.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/details/details.tsx b/src/components/details/details.tsx index 9efef3bf..0354abf7 100644 --- a/src/components/details/details.tsx +++ b/src/components/details/details.tsx @@ -65,7 +65,8 @@ export class Details { // Show on init if open if (this.open) { - this.show(); + this.body.style.height = 'auto'; + this.body.style.overflow = 'visible'; } }