vue2-transitions
vue2-transitions copied to clipboard
Height bug in collapse animation
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/
Facing this issue as well. @maritaria did u find a workaround?
EDIT:
this.$refs.collapse.$el.style.height = 'auto';