Skip to content

Commit 2f5b5cc

Browse files
committed
fix compatibility with choices.js
fix issue where stopping all event propagation in modal container interferes with opening the choices.js modal, which has event listeners on document
1 parent 06f2fd5 commit 2f5b5cc

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

dist/VueFinalModal.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueFinalModal.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueFinalModal.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueFinalModal.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/VueFinalModal.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@
3838
role="dialog"
3939
aria-modal="true"
4040
tabindex="-1"
41-
@click="onClickContainer"
41+
@click.self="onClickContainer"
4242
>
4343
<div
4444
ref="vfmContent"
4545
class="vfm__content"
4646
:class="[contentClass, { 'vfm--prevent-auto': preventClick }]"
4747
:style="contentStyle"
48-
@click.stop
4948
>
5049
<slot />
5150
</div>

0 commit comments

Comments
 (0)