mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Stop scrolling new tag into view, it causes calendar sidemenu to get stuck
This commit is contained in:
parent
ce64ddf9e0
commit
4b4d6fe184
@ -759,10 +759,13 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
||||
// Scroll the new tag into view
|
||||
if(event.detail && event.detail.item)
|
||||
{
|
||||
// Causes sidemenu (calendar) to scroll to top & get stuck
|
||||
/*
|
||||
this.updateComplete.then(() =>
|
||||
{
|
||||
this.shadowRoot.querySelector("et2-tag[value='" + event.detail.item.value.replace(/'/g, "\\\'") + "']")?.scrollIntoView();
|
||||
this.shadowRoot.querySelector("et2-tag[value='" + event.detail.item.value.replace(/'/g, "\\\'") + "']")?.scrollIntoView({block: "nearest"});
|
||||
});
|
||||
*/
|
||||
}
|
||||
}
|
||||
else if(!this.multiple && this.searchEnabled)
|
||||
|
Loading…
Reference in New Issue
Block a user