close modal when clicking on it's outside
This commit is contained in:
parent
8c759c4f23
commit
df5a5f4729
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="modal" tabindex="-1" @keyup.esc="$emit('close')">
|
<div class="modal" tabindex="-1" @keyup.esc="$emit('close')" @click.self="$emit('close')">
|
||||||
<div class="modal-dialog modal-xl">
|
<div class="modal-dialog modal-xl">
|
||||||
<div class="modal-content bg-dark text-light border-secondary">
|
<div class="modal-content bg-dark text-light border-secondary">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
|
|
Loading…
Reference in a new issue