mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 20:34:52 +00:00
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:
parent
5f57b4b5aa
commit
c52570ddc4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user