diff --git a/src/runtime/app.config.ts b/src/runtime/app.config.ts
index 785a524b60..154a923102 100644
--- a/src/runtime/app.config.ts
+++ b/src/runtime/app.config.ts
@@ -420,7 +420,8 @@ const formGroup = {
label: {
wrapper: 'flex content-center items-center justify-between',
base: 'block font-medium text-gray-700 dark:text-gray-200',
- required: 'after:content-[\'*\'] after:ms-0.5 after:text-red-500 dark:after:text-red-400'
+ // eslint-disable-next-line quotes
+ required: `after:content-['*'] after:ms-0.5 after:text-red-500 dark:after:text-red-400`
},
size: {
'2xs': 'text-xs',
diff --git a/src/runtime/components/overlays/Popover.vue b/src/runtime/components/overlays/Popover.vue
index 3a2c90a138..cd5e975d99 100644
--- a/src/runtime/components/overlays/Popover.vue
+++ b/src/runtime/components/overlays/Popover.vue
@@ -1,5 +1,5 @@
-
+
(null)
const popoverApi = ref(null)
let openTimeout: NodeJS.Timeout | null = null
let closeTimeout: NodeJS.Timeout | null = null
onMounted(() => {
- setTimeout(() => {
- // @ts-expect-error internals
- const popoverProvides = trigger.value?.$.provides
- if (!popoverProvides) {
- return
- }
- const popoverProvidesSymbols = Object.getOwnPropertySymbols(popoverProvides)
- popoverApi.value = popoverProvidesSymbols.length && popoverProvides[popoverProvidesSymbols[0]]
- }, 200)
+ const popoverProvides = popover.value?.$.provides
+ if (!popoverProvides) {
+ return
+ }
+ const popoverProvidesSymbols = Object.getOwnPropertySymbols(popoverProvides)
+ popoverApi.value = popoverProvidesSymbols.length && popoverProvides[popoverProvidesSymbols[0]]
})
function onMouseOver () {
@@ -145,6 +143,7 @@ export default defineComponent({
return {
// eslint-disable-next-line vue/no-dupe-keys
ui,
+ popover,
trigger,
container,
onMouseOver,