Skip to content

Commit

Permalink
fix: fix scroll didn't work on close modal (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanahmeed authored Mar 3, 2021
1 parent 52efd8d commit 0d00884
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@burhanahmeed/vue-modal-2",
"version": "1.1.8",
"version": "1.1.9",
"private": false,
"author": "Burhanuddin Ahmed <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export default {
methods: {
hell() {
alert("111");
this.handleClose()
this.handleClose2()
},
handleClose() {
this.isVisible = false;
Expand Down
2 changes: 2 additions & 0 deletions src/components/Container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ export default {
visible(val) {
if (val) {
this.addStyling("open");
} else {
this.handleClose();
}
},
},
Expand Down

0 comments on commit 0d00884

Please sign in to comment.