I am currently attempting to expose a template ref using defineExpose
so that I can utilize that template ref in the useElementSize
composable. However, according to the documentation, "(refs are automatically unwrapped just like on normal instances)". This means that since it will be unwrapped, the parent component is unable to use useElementSize
.
Of course, one workaround could be to only expose the element size, but I am wondering if there is a way to prevent Vue from unwrapping in defineExpose
.