vue-match-heights icon indicating copy to clipboard operation
vue-match-heights copied to clipboard

Use with v-for, set the height of the first element

Open jrpersico opened this issue 5 years ago • 1 comments

Hi,

When I use vue-match-heights with v-for, it applies the height of my first element to the others.

How to run it once the v-for has been rendered?

I use it in bootstrap-vue carousel.

jrpersico avatar Apr 15 '20 16:04 jrpersico

adding a timeout worked for me

mounted() { setTimeout(() => { document.dispatchEvent(new CustomEvent('matchheight', {})); }, 200); }

aruspeter-octopus avatar May 04 '21 08:05 aruspeter-octopus