FIX: prevents mouseover to gain focus on sk row (#20550)

This was causing unattended effects on other elements. eg: the select-kit header input could lose focus when the list filtered would change size and cause the cursor to be positioned over a row.
This commit is contained in:
Joffrey JAFFEUX 2023-03-06 23:27:38 +01:00 committed by GitHub
parent 5f57b4b5aa
commit c52570ddc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,6 @@ export default Component.extend(UtilsMixin, {
@action @action
handleMouseEnter() { handleMouseEnter() {
if (!this.isDestroying || !this.isDestroyed) { if (!this.isDestroying || !this.isDestroyed) {
this.element.focus({ preventScroll: true });
this.selectKit.onHover(this.rowValue, this.item); this.selectKit.onHover(this.rowValue, this.item);
} }
return false; return false;