You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<PDDragContext>
<PDTree //...>
<NodeTemplate>
// My template followed by ...
<MudIconButton ButtonType="ButtonType.Button"
Size="MudBlazor.Size.Small"
Icon="@Icons.Material.Filled.Delete"
Color="Color.Error"
OnClick="() => ItemDelete(PDTreeCtx)">
</MudIconButton>
</NodeTemplate>
</PDTree>
</PDDragContext>
It works fine except that when I drag an item the placeholder shows as the whole PDTree not just the PDTreeNode I am dragging. If I remove the MudIconButton from the NodeTemplate it works as expected with the placeholder being only the PDTreeNode I am dragging.
Is there something I am missing here in the setup?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I am using
It works fine except that when I drag an item the placeholder shows as the whole
PDTree
not just thePDTreeNode
I am dragging. If I remove theMudIconButton
from theNodeTemplate
it works as expected with the placeholder being only thePDTreeNode
I am dragging.Is there something I am missing here in the setup?
The text was updated successfully, but these errors were encountered: