Skip to content

Commit b8fdaf5

Browse files
committed
Merge branch 'bugfix/do-not-close-modal-when-select-text' into v3
2 parents 381d6c3 + 836deb0 commit b8fdaf5

File tree

18 files changed

+66
-28
lines changed

18 files changed

+66
-28
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- [ ] Feature
2+
- [ ] Feature review
3+
- [ ] Unit test
4+
- [ ] Unit test review
5+
- [ ] Docs
6+
- [ ] Docs review

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
## 🎉 [Documentation](https://vue-final-modal.org)
3030

31-
3231
## 🙌 [Examples](https://vue-final-modal.org/examples/liveDemo)
3332

3433
## Introduction

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.

docs/components/examples/basic/VDynamicModal.vue

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<template>
2-
<vue-final-modal v-bind="$attrs" classes="modal-container" content-class="modal-content" v-on="$listeners">
2+
<vue-final-modal
3+
v-slot="{ close }"
4+
v-bind="$attrs"
5+
classes="modal-container"
6+
content-class="modal-content"
7+
v-on="$listeners"
8+
>
39
<button class="modal__close" @click="close">
410
<mdi-close></mdi-close>
511
</button>
@@ -12,12 +18,7 @@
1218

1319
<script>
1420
export default {
15-
inheritAttrs: false,
16-
methods: {
17-
close() {
18-
this.$emit('input', false)
19-
}
20-
}
21+
inheritAttrs: false
2122
}
2223
</script>
2324

docs/content/en/examples/liveDemo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ position: 9
77
version: 3
88
---
99

10-
<basic-options></basic-options>
10+
<basic-options></basic-options>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)