diff --git a/docs/content/docs/2.components/popover.md b/docs/content/docs/2.components/popover.md index 2d911808ef..46aae47f60 100644 --- a/docs/content/docs/2.components/popover.md +++ b/docs/content/docs/2.components/popover.md @@ -237,6 +237,10 @@ name: 'popover-anchor-slot-example' :component-slots +::note +The `close` function is only available when `mode` is set to `click` because Reka UI exposes this for [`Popover`](https://reka-ui.com/docs/components/popover#close-using-slot-props) but not for [`HoverCard`](https://reka-ui.com/docs/components/hover-card). +:: + ### Emits :component-emits diff --git a/playgrounds/nuxt/app/pages/components/popover.vue b/playgrounds/nuxt/app/pages/components/popover.vue index ba9086ade2..3a70fd29bd 100644 --- a/playgrounds/nuxt/app/pages/components/popover.vue +++ b/playgrounds/nuxt/app/pages/components/popover.vue @@ -21,8 +21,10 @@ function send() { -