diff --git a/src/components/NcButton/NcButton.vue b/src/components/NcButton/NcButton.vue index ece6c2ffd3..1290271f8c 100644 --- a/src/components/NcButton/NcButton.vue +++ b/src/components/NcButton/NcButton.vue @@ -541,8 +541,8 @@ export default { */ this.$emit('update:pressed', !this.pressed) } - // We have to both navigate and call the listeners click handler - this.$listeners?.click?.($event) + // We have to both navigate and emit the click event + this.$emit('click', $event) navigate?.($event) }, },