mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02:00
Et2Select: Stop sidemenu scrolling when scrolling through options
This commit is contained in:
parent
9b2d208e8e
commit
b3899e86dd
@ -841,6 +841,10 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
|||||||
.value=${value}
|
.value=${value}
|
||||||
@sl-change=${this.handleValueChange}
|
@sl-change=${this.handleValueChange}
|
||||||
@mouseup=${this.handleOptionClick}
|
@mouseup=${this.handleOptionClick}
|
||||||
|
@mousewheel=${
|
||||||
|
// Grab & stop mousewheel to prevent scrolling sidemenu when scrolling through options
|
||||||
|
e => e.stopImmediatePropagation()
|
||||||
|
}
|
||||||
>
|
>
|
||||||
${icon}
|
${icon}
|
||||||
${this._emptyLabelTemplate()}
|
${this._emptyLabelTemplate()}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user