From 33111b6693e120f97469c613249289fd385bdc2c Mon Sep 17 00:00:00 2001
From: Alyosha Pushak
Date: Sun, 12 Apr 2015 19:17:16 -0700
Subject: [PATCH] Accordion: Correct height calculated when closed
Fixes #11938
Closes gh-1536
---
tests/unit/accordion/accordion.html | 19 ++++++++++++++++++-
tests/unit/accordion/options.js | 16 ++++++++++++++++
ui/widgets/accordion.js | 7 +++++++
3 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html
index 683b87456cb..ce58567552b 100644
--- a/tests/unit/accordion/accordion.html
+++ b/tests/unit/accordion/accordion.html
@@ -8,12 +8,16 @@
@@ -109,6 +113,19 @@
+
+
+
Header
+
+
+ The calculated height of this accordion should be the same
+ regardless of whether the accordion was collapsed or not
+ when the height was calculated.
+
+
+
+
+