Skip to content

Releases: smastrom/vue-collapsed

v1.3.5

30 Dec 08:29
48339e9

Choose a tag to compare

Release notes

  • Fix TypeError when collapse element is unmounted before transition completes - PR #33 - Thanks @ridvansumset
  • Build vue-collapsedusing Vue v3.5
  • Update playground to Nuxt v4
  • Streamline and improve README

v1.3.4

05 Aug 16:01
51502dc

Choose a tag to compare

Release notes

v1.3.3

09 Apr 10:35
bb5ca09

Choose a tag to compare

Release notes

Force expand/collapse if unable to properly query scrollHeight in some consumer's implementation-related edge cases, thanks @oleh-selivanov - #25

v1.3.2

08 Apr 11:57

Choose a tag to compare

Release notes

v1.3.1

06 Mar 12:25

Choose a tag to compare

Release notes

Add additional condition for checking undefined CSS transition required for Firefox 124+ - #23 - Thanks @andreww2012

v1.3.0

15 Dec 15:39

Choose a tag to compare

Release notes

  • Fix a SSR layout shift bug where <Collapse /> was displayed as expanded on initial render until JS was loaded (if collapsed). #22 - Thanks @zhaivoronok
  • Add a check to control whether requestAnimationFrame is available

Other

  • Setup monorepo
  • Migrate playground to Nuxt
  • Add more examples to playground
  • Migrate demo website to Cloudflare Pages

v1.2.9

19 Oct 17:55

Choose a tag to compare

Release notes

This patch release doesn't bring any new feature nor fix. It is just a "courtesy-release" to enable from now on, publishments via the newly introduced npm provenance statements.

I also took the chance to improve a bit the (one year old) codebase by:

  • Use defineOptions in the setup block
  • Refactor reactivity-related syntax to improve readability using setters
  • Enable watch mode for both dev and GUI testing
  • Drop the buggy and unstable Cypress webkit testing (support still experimental)
  • Update all dependencies

v1.2.8

16 Sep 12:46

Choose a tag to compare

Release notes

Fixed a bug on iOS where getAutoDuration returned Infinity if visually hidden styles were applied just right before calling it.

v1.2.7

20 Aug 18:07

Choose a tag to compare

  • Fixed a bug where auto duration was not calculated if Collapse was mounted in a container with display: none.
  • Added Firefox and Webkit tests.

v1.2.6

03 Aug 23:47
d29bfcf

Choose a tag to compare

What's improved

  • Collapse is now more performant, using only one requestAnimationFrame call per expand/collapse. This was achieved by streamlining the logic behind retrieving the auto duration value, which is now only captured on mount.
  • No longer enforcing margin: 0 and border: 0 on the Collapse element fixed styles.
  • When baseHeight dynamically updates to 0 on collapsed state, display: hidden is now added on the Collapse element styles.
  • Added examples to the README on how to use different easing and durations per expand/collapse.