Et2SelectEmail: Give dragged tags some z-index, so they go over the other controls

This commit is contained in:
nathan 2023-02-06 15:07:30 -07:00
parent cd980c78df
commit 1b7f9d3ebc

View File

@ -171,6 +171,7 @@ export class Et2SelectEmail extends Et2Select
let dragPosition = {x:e.page.x, y:e.page.y};
e.target.setAttribute('style', `width:${e.target.clientWidth}px !important`);
e.target.style.position = 'fixed';
e.target.style.zIndex = 10;
e.target.style.transform =
`translate(${dragPosition.x}px, ${dragPosition.y}px)`;
},