We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6635f0 commit 217e9bdCopy full SHA for 217e9bd
src/components/NcListItem/NcListItem.vue
@@ -776,7 +776,9 @@ export default {
776
return
777
}
778
// do not hide if focus is kept within
779
- if (this.$refs['list-item'].contains(event.relatedTarget)) {
+ // On component unmounting Vue 3 resets the template ref to null,
780
+ // so we can ignore this check
781
+ if (this.$refs['list-item']?.contains(event.relatedTarget)) {
782
783
784
this.hideActions()
0 commit comments