This commit is contained in:
Vanessa 2023-10-27 23:58:43 +08:00
parent c757e2912f
commit c2cb4d0a25
2 changed files with 4 additions and 4 deletions

View file

@ -62,7 +62,7 @@ export const insertAttrViewBlockAnimation = (blockElement: Element, size: number
const previousElement = blockElement.querySelector(`.av__row[data-id="${previousId}"]`) || blockElement.querySelector(".av__row--header");
let colHTML = "";
previousElement.querySelectorAll(".av__cell").forEach((item: HTMLElement) => {
colHTML += `<div class="av__cell" style="width: ${item.style.width}" ${item.getAttribute("data-block-id") ? ' data-detached="true"' : ""}><span class="av__pulse"></span></div>`;
colHTML += `<div class="av__cell" style="width: ${item.style.width}" ${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' data-detached="true"' : ""}><span class="av__pulse"></span></div>`;
});
let html = "";