High transfer between components?

what if the height taken from the mounted in the parent component is passed to the child component through prop to act as a height in the div, but it doesn"t work?

Jul.20,2021

should be a matter of the lifecycle of the child component and the parent component. You should reset the height of the div when the height of watch or computed, prop in the child component changes.


confirm that the component has been rendered when the attributes are extracted. The unrendered DOM is 0 wide and 0 high.


what can be solved with CSS does not necessarily require JS

Menu