-
EnvironmentDevelopement/Production OS: MacOS Sonama 14.3.1
Node version: 18.18.0
Package manager: [email protected]
Radix Vue version: 1.4.6
Vue version: 3.4.18
Client OS: MacOS Sonama 14.3.1
Browser: Chrome 121.0.6167.160 (Official Build) (arm64) Link to minimal reproductionhttps://stackblitz.com/edit/vitejs-vite-7wzxop?file=package.json,src%2FApp.vue&terminal=dev Steps to reproduce
Describe the bugA custom Expected behaviorDropdownMenuContent > as-child element > referenced via Context & Screenshots (if applicable)No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hmm.. seems abit weird that passing string to <div
style="background-color: yellowgreen"
:ref="(el) => (contentEl = el)"
> https://stackblitz.com/edit/vitejs-vite-dueuhu?file=src%2FApp.vue |
Beta Was this translation helpful? Give feedback.
-
Moving this to discussion as we don't have a direct fix for this. and the solution above might work 😁 |
Beta Was this translation helpful? Give feedback.
Hmm.. seems abit weird that passing string to
ref
doesn't update the it when unmounted in this case, but using function does. Might be something with Vue, for the mean time you can use this as alternativehttps://stackblitz.com/edit/vitejs-vite-dueuhu?file=src%2FApp.vue