Skip to content

A platform for community discussion. Free, open, simple.

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

Joffrey JAFFEUXc52570ddc430
diff --git a/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-row.js b/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-row.js
index 126a9d80f50..79eeb5a7007 100644
--- a/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-row.js
+++ b/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-row.js
@@ -128,7 +128,6 @@ export default Component.extend(UtilsMixin, {
@action
handleMouseEnter() {
if (!this.isDestroying || !this.isDestroyed) {
- this.element.focus({ preventScroll: true });
this.selectKit.onHover(this.rowValue, this.item);
}
return false;