-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
The closed event is not emitted when the popover menu created by NcActions is closed.
Steps to Reproduce
Given the following setup:
<template>
<NcActions @close="showMessage('Close')" @closed="showMessage('Closed')">
<NcActionButton @click="showMessage('Edit')"> Edit </NcActionButton>
<NcActionButton @click="showMessage('Delete')">Delete </NcActionButton>
</NcActions>
</template>
<script>
export default {
methods: {
showMessage(msg) {
alert(msg);
},
},
};
</script>- Click on the menu indicator to open the popover
- Click outside the popover to close it
- (Observe the
closeevent being emitted in v8 and v9) - Observe the
closedevent- being emitted in v8
- not being emitted in v9
Actual Behavior
closed event is not emitted in v9.
Expected Behavior
closed event being emitted.
Environment
- Version
- for v9
- https://nextcloud-vue-components.netlify.app/
- or 1b50fda (recent commit on main at that time)
- for v8 https://stable8--nextcloud-vue-components.netlify.app
- for v9
- Browser
- Chrome 144
- Firefox 147
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels