Skip to content

Commit

Permalink
fix(Menu): stop propagation when pressing escape button
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi authored and kelsos committed Sep 26, 2024
1 parent ff72c2e commit 0ec33f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/overlays/menu/RuiMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const { hasError, hasSuccess } = useFormTextDetail(
</script>

<template>
<div @keydown.esc="onLeave()">
<div @keydown.esc.stop="onLeave()">
<div
ref="activator"
:class="[css.wrapper, wrapperClass, { 'w-full': fullWidth }]"
Expand Down

0 comments on commit 0ec33f4

Please sign in to comment.