[Vuejs]-How can i get current height in VueJS with Composition API

0๐Ÿ‘

โœ…

When ref is used inside v-for, the corresponding ref should contain an Array value, which will be populated with the elements after mount:

Refs inside v-for

Also, you probably want to set maxHeight instead of minHeightโ€ฆ
Here is your slightly modified code in the example: Vue SFC Playground.

Leave a comment