Skip to content

Commit

Permalink
fix(Drawer): preventDefault and stopPropagation on Escape
Browse files Browse the repository at this point in the history
  • Loading branch information
N00nDay committed Apr 24, 2023
1 parent 87bd0cf commit 274d2f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/drawer/Drawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
handleClose
) {
onClose();
e.preventDefault();
e.stopPropagation();
}
}
Expand Down

0 comments on commit 274d2f7

Please sign in to comment.