playbook_ui 14.4.0.pre.rc.3 → 14.4.0.pre.rc.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_collapsible/_helper_functions.ts +4 -0
- data/dist/chunks/{_typeahead-BWUFVlae.js → _typeahead-Z2PW068O.js} +1 -1
- data/dist/chunks/{_weekday_stacked-DpRkKl3_.js → _weekday_stacked-CpnZgQb_.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25a69d5d02c56edbc99a825d964fc1fa1d9f64723f9e534c0ce979b5f45b8265
|
4
|
+
data.tar.gz: 2d8aa886efb6fb0f4e67b262d55e00f96adc24bbf6cbdaaaa4058e7182cab753
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5bcaf8f15a6a6277656e2f7ca55e17e69d6259e28e06700ec46340805852ad00980ecbde36f655a0980aeb83799685fdc583d747292a7148b7509ad1730602b
|
7
|
+
data.tar.gz: 878172a659fcdbe1a19a9fac3bba86c096c8ccb198593dc61d11639d3814467fdb5010e0663ef500548b91dc8975c8596541f1ec720f8a7284cb28d6fb1e1df8
|
@@ -6,6 +6,10 @@ export const showElement = (elem: HTMLElement) => {
|
|
6
6
|
elem.style.overflow = "hidden"
|
7
7
|
// Once the transition is complete, remove the inline max-height so the content can scale responsively
|
8
8
|
window.setTimeout(() => {
|
9
|
+
// If a user toggles multiple times quickly in a row, 'is-visible' can be removed by hideElement's timeout
|
10
|
+
if (!elem.classList.contains('is-visible')) {
|
11
|
+
elem.classList.add('is-visible')
|
12
|
+
}
|
9
13
|
elem.style.height = '';
|
10
14
|
elem.style.overflow = "visible"
|
11
15
|
}, 300);
|