test(ui/templates): cover drag-template-to-root via bUnit DragEventArgs

This commit is contained in:
Joseph Doherty
2026-05-11 12:00:07 -04:00
parent 8155dbc411
commit 17e690f6ef
2 changed files with 39 additions and 1 deletions

View File

@@ -144,7 +144,8 @@
</div>
<div style="max-height: calc(100vh - 160px); overflow-y: auto;">
<div @ondragover:preventDefault="true" @ondrop="OnDropOnRoot"
<div class="templates-root-dropzone"
@ondragover:preventDefault="true" @ondrop="OnDropOnRoot"
style="min-height: 100%; padding: 4px;">
<TreeView @ref="_tree" TItem="TmplNode" Items="_treeRoots"
ChildrenSelector="n => n.Children"