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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e420bbc5a53b97f0ee0a59c848dcbf0c19686065199c4732c98f907c0cafc93
4
- data.tar.gz: 12a87672f1a7f7544a5eee2831c5700e553713b22ac7d1d2eefe905cd45f243a
3
+ metadata.gz: 25a69d5d02c56edbc99a825d964fc1fa1d9f64723f9e534c0ce979b5f45b8265
4
+ data.tar.gz: 2d8aa886efb6fb0f4e67b262d55e00f96adc24bbf6cbdaaaa4058e7182cab753
5
5
  SHA512:
6
- metadata.gz: 70a767db5a9f74e56189abc3913701662f967a0bc1296faadd7aed22074f5d81143430afc4a91e52e4284f7916a91b1c268b4db38714b20c93670c64283f0be0
7
- data.tar.gz: 6e51aa62bb606b29729ac1ad8c6fb08bc21e42053e0d4e9961485ee7ee035623eeea16093adc905b503722349d469c8f4c81fec826d207105dbf525cf43cb757
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);