|
@@ -21,9 +21,9 @@
|
|
|
await JSRuntime.InvokeVoidAsync(Prefix + ".resolveSelectTextClickConflict", ElementId, DotNetRef);
|
|
|
}
|
|
|
|
|
|
- private async Task DragMouseDown() => await JSRuntime.InvokeVoidAsync(Prefix + ".setDraggableOn", ElementId);
|
|
|
+ private async Task EnableDragDrop() => await JSRuntime.InvokeVoidAsync(Prefix + ".setDraggableOn", ElementId);
|
|
|
|
|
|
- private async Task DragMouseUp() => await JSRuntime.InvokeVoidAsync(Prefix + ".setDraggableOff", ElementId);
|
|
|
+ private async Task DisableDragDrop() => await JSRuntime.InvokeVoidAsync(Prefix + ".setDraggableOff", ElementId);
|
|
|
|
|
|
|
|
|
[JSInvokable("FnzDragStartProvideContent")]
|
|
@@ -60,7 +60,7 @@
|
|
|
{
|
|
|
var arr = PlaylistHelper[Playlist.Id];
|
|
|
|
|
|
- <tr id="@ElementId" class="table-primary">
|
|
|
+ <tr id="@ElementId" class="table-primary" @ondragend="DisableDragDrop">
|
|
|
<td style="width:0" @onclick="()=>{isExpand=!isExpand;}">
|
|
|
<button type="button" class="btn btn-primary p-2">
|
|
|
@if (isExpand)
|
|
@@ -88,7 +88,7 @@
|
|
|
var isLast = ListItemIndex == ListItemCount - 1;
|
|
|
|
|
|
<div class="dropstart">
|
|
|
- <button type="button" class="btn btn-primary p-2" data-bs-toggle="dropdown" @onmousedown="DragMouseDown" @onmouseup="DragMouseUp">
|
|
|
+ <button type="button" class="btn btn-primary p-2" data-bs-toggle="dropdown" @onmousedown="EnableDragDrop" @onmouseup="DisableDragDrop">
|
|
|
<i class="bi bi-arrow-down-up"></i>
|
|
|
</button>
|
|
|
<div class="dropdown-menu text-end p-1 text-nowrap" style="width: initial;min-width: initial;">
|