fix: close modal on clicking overlay for non input modals (#5403)

Co-authored-by: nivedin <nivedinp@gmail.com>
This commit is contained in:
Anandakrishnan CV 2025-09-26 12:22:11 +05:30 committed by GitHub
parent f9a1d65ad9
commit fc87526fbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 6 deletions

View file

@ -1,7 +1,6 @@
<template>
<HoppSmartModal
v-if="show"
dialog
:title="t('app.developer_option')"
@close="hideModal"
>

View file

@ -1,14 +1,13 @@
<template>
<HoppSmartModal
v-if="show"
dialog
:title="t('app.options')"
styles="sm:max-w-md"
@close="emit('hide-modal')"
>
<template #body>
<div class="flex flex-col space-y-2">
<h2 class="p-4 font-bold font-semibold text-secondaryDark">
<h2 class="p-4 font-semibold text-secondaryDark">
{{ t("layout.name") }}
</h2>
<HoppSmartItem
@ -27,7 +26,7 @@
active
@click="expandCollection"
/>
<h2 class="p-4 font-bold font-semibold text-secondaryDark">
<h2 class="p-4 font-semibold text-secondaryDark">
{{ t("support.title") }}
</h2>
<template

View file

@ -1,7 +1,6 @@
<template>
<HoppSmartModal
v-if="show"
dialog
:title="t('app.invite_your_friends')"
@close="hideModal"
>

View file

@ -1,7 +1,6 @@
<template>
<HoppSmartModal
v-if="show"
dialog
:title="t('support.title')"
styles="sm:max-w-md"
@close="emit('hide-modal')"