Ref returned from composition outside of script setup no longer works after version 3.2.8 #4546
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
has workaround
A workaround has been found to avoid the problem
🐞 bug
Something isn't working
scope: compiler
Version
3.2.11
Reproduction link
sfc.vuejs.org/
Steps to reproduce
What is expected?
It should appear in the console "clicked" and then "has value".
What is actually happening?
Only "clicked" appears .
In dev this works normally, but in build the
container.value
inuseSomething
remainsnull
. Before version 3.2.8 it worked in both dev and build. I believe it may be related to #4492The text was updated successfully, but these errors were encountered: