fix: selecting text with mouse closes modal - fixed #2195
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user