fix: selecting text with mouse closes modal - fixed #2195

This commit is contained in:
liyasthomas
2022-03-24 05:54:56 +05:30
parent 5d54cf51b8
commit de46c61c30
24 changed files with 54 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<template>
<SmartModal v-if="show" :title="t('team.new')" @close="hideModal">
<SmartModal v-if="show" dialog :title="t('team.new')" @close="hideModal">
<template #body>
<div class="flex flex-col px-2">
<input

View File

@@ -1,5 +1,5 @@
<template>
<SmartModal v-if="show" :title="t('team.edit')" @close="hideModal">
<SmartModal v-if="show" dialog :title="t('team.edit')" @close="hideModal">
<template #body>
<div class="flex flex-col px-2">
<div class="relative flex">

View File

@@ -1,5 +1,5 @@
<template>
<SmartModal v-if="show" :title="t('team.invite')" @close="hideModal">
<SmartModal v-if="show" dialog :title="t('team.invite')" @close="hideModal">
<template #body>
<div v-if="sendInvitesResult.length" class="flex flex-col px-4">
<div class="flex flex-col items-center justify-center max-w-md">

View File

@@ -1,5 +1,10 @@
<template>
<SmartModal v-if="show" :title="t('team.select_a_team')" @close="hideModal">
<SmartModal
v-if="show"
dialog
:title="t('team.select_a_team')"
@close="hideModal"
>
<template #body>
<Teams :modal="true" />
</template>