Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,9 @@ export default {
return
}
// do not hide if focus is kept within
if (this.$refs['list-item'].contains(event.relatedTarget)) {
// On component unmounting Vue 3 resets the template ref to null,
// so we can ignore this check
if (this.$refs['list-item']?.contains(event.relatedTarget)) {
return
}
this.hideActions()
Expand Down
Loading