I have a computed property that uses the height of a div. This div is within a v-for loop.
I notice that when I load the html page, the computed property returns
undefined because the concerned div has not been rendered. After the whole page is rendered, any event that triggers update will make the computed property return the correct value.
My question is: Is there a way to trigger update automatically after the div is rendered to get the computed property recalculated?
Sorry, I couldn’t produce a good example, and the whole original code is too cumbersome to place here.