diff --git a/packages/vitepress-twoslash/src/renderer-floating-vue.ts b/packages/vitepress-twoslash/src/renderer-floating-vue.ts index 1bd539bb8..7dbf0127b 100644 --- a/packages/vitepress-twoslash/src/renderer-floating-vue.ts +++ b/packages/vitepress-twoslash/src/renderer-floating-vue.ts @@ -85,7 +85,8 @@ export function rendererFloatingVue(options: TwoslashFloatingVueRendererOptions tagName: 'v-menu', properties: { ...hoverBasicProps, - theme: floatingVueThemeQuery, + ':shown': 'true', + 'theme': floatingVueThemeQuery, }, }, queryCompose: compose,