We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558f331 commit 0c65073Copy full SHA for 0c65073
1 file changed
app/components/AppPopover.vue
@@ -21,9 +21,9 @@ const panelPositionClasses: Record<string, string> = {
21
const panelPosition = computed(() => panelPositionClasses[props.position ?? 'bottom'])
22
23
function clearCloseTimeout() {
24
- if (closeTimeout.value !== null) {
25
- clearTimeout(closeTimeout.value)
26
- closeTimeout.value = null
+ if (closeTimeout !== null) {
+ clearTimeout(closeTimeout)
+ closeTimeout = null
27
}
28
29
@@ -34,8 +34,8 @@ function open() {
34
35
function close() {
36
clearCloseTimeout()
37
- closeTimeout.value = setTimeout(() => {
38
+ closeTimeout = setTimeout(() => {
39
isOpen.value = false
40
}, closeDelayMs)
41
0 commit comments