-
Notifications
You must be signed in to change notification settings - Fork 95
fix(NcListItem): correctly handle unmounting #7151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
susnux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just spaces vs tabs
| } | ||
| // 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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it null? thought undefined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grigorii showed the place in vue code, but I don't have a link unfortunately, Just remember it is set with = null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
217e9bd to
0f4341c
Compare
☑️ Resolves
$refs.nameis null and therefore can no longer be used🖼️ Screenshots
🏁 Checklist
stable8for maintained Vue 2 version or not applicable