vue2-transitions icon indicating copy to clipboard operation
vue2-transitions copied to clipboard

Height bug in collapse animation

Open maritaria opened this issue 5 years ago • 1 comments

The collapse animation does not support pre-determining the height of the wrapped elements. If the height of the wrapped elements is not determined and coded into the applied styles, then you are transitioning to/from height:auto; which doesn't work well because it is not supported to transition to/from this value by the css standard.

https://css-tricks.com/using-css-transitions-auto-dimensions/

maritaria avatar Nov 13 '18 11:11 maritaria

Facing this issue as well. @maritaria did u find a workaround?

EDIT:

this.$refs.collapse.$el.style.height = 'auto';

chanlito avatar Jan 18 '19 11:01 chanlito