Ignore focus mouseover event when composed in layout (#6373)

Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
This commit is contained in:
Michael Rogers 2023-02-27 15:57:15 -06:00 committed by GitHub
parent 96d723a424
commit 52c00cfaef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -885,6 +885,10 @@ export default {
}); });
}, },
focusElement() { focusElement() {
if (this.isComposedInLayout) {
return false;
}
this.$el.focus(); this.$el.focus();
}, },