mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
remove drag-drop hover effect on drop regarding #97141
This commit is contained in:
parent
8f1e61d08e
commit
b04d4b28b7
@ -848,7 +848,8 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
|
|||||||
|
|
||||||
const typeMap = {
|
const typeMap = {
|
||||||
dragenter: EGW_AI_DRAG_ENTER,
|
dragenter: EGW_AI_DRAG_ENTER,
|
||||||
dragleave: EGW_AI_DRAG_OUT
|
dragleave: EGW_AI_DRAG_OUT,
|
||||||
|
drop: EGW_AI_DRAG_OUT,
|
||||||
}
|
}
|
||||||
this.widget_object.getObjectById(id).iface.triggerEvent(typeMap[event.type], event);
|
this.widget_object.getObjectById(id).iface.triggerEvent(typeMap[event.type], event);
|
||||||
}
|
}
|
||||||
@ -1068,6 +1069,7 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
|
|||||||
}
|
}
|
||||||
@dragenter=${(event) => {this.handleDragEvent(event);}}
|
@dragenter=${(event) => {this.handleDragEvent(event);}}
|
||||||
@dragleave=${(event) => {this.handleDragEvent(event);}}
|
@dragleave=${(event) => {this.handleDragEvent(event);}}
|
||||||
|
@drop=${(event) => {this.handleDragEvent(event);}}
|
||||||
>
|
>
|
||||||
<sl-icon name="chevron-right" slot="expand-icon"></sl-icon>
|
<sl-icon name="chevron-right" slot="expand-icon"></sl-icon>
|
||||||
<sl-icon name="chevron-down" slot="collapse-icon"></sl-icon>
|
<sl-icon name="chevron-down" slot="collapse-icon"></sl-icon>
|
||||||
|
Loading…
Reference in New Issue
Block a user