diff --git a/BlazorReorderExample/Pages/BetweenLists.razor b/BlazorReorderExample/Pages/BetweenLists.razor index d0cfd1e..429441b 100644 --- a/BlazorReorderExample/Pages/BetweenLists.razor +++ b/BlazorReorderExample/Pages/BetweenLists.razor @@ -43,7 +43,7 @@ public List list1 = new() { - new ListItem("Google", "https://google.com", "Again looking for a bug ..."), + new ListItem("Google", "https://google.com", "Again looking for a bugAgain looking for a bug Again looking for a bug Again looking for a bugAgain looking for a bugAgain looking for a bug..."), new ListItem("StackOverflow", "https://stackoverflow.com", "Could be this the solution?"), new ListItem("GitHub", "https://github.com", "Let's get awesome code"), new ListItem("Twitter", "https://twitter.com", "I want to rest"), diff --git a/BlazorReorderExample/Pages/Index.razor b/BlazorReorderExample/Pages/Index.razor index e3a869c..2186aff 100644 --- a/BlazorReorderExample/Pages/Index.razor +++ b/BlazorReorderExample/Pages/Index.razor @@ -19,7 +19,7 @@ Welcome to your new reorderer list. { public List list = new() { - new ListItem("Google", "https://google.com", "Again looking for a bug ..."), + new ListItem("Google", "https://google.com", "Again looking for a bugAgain looking for a bug Again looking for a bug Again looking for a bugAgain looking for a bugAgain looking for a bug..."), new ListItem("StackOverflow", "https://stackoverflow.com", "Could be this the solution?"), new ListItem("GitHub", "https://github.com", "Let's get awesome code"), new ListItem("Twitter", "https://twitter.com", "I want to rest"), diff --git a/BlazorReorderList/BlazorReorderList.csproj b/BlazorReorderList/BlazorReorderList.csproj index 257de97..191a110 100644 --- a/BlazorReorderList/BlazorReorderList.csproj +++ b/BlazorReorderList/BlazorReorderList.csproj @@ -5,7 +5,7 @@ enable enable BlazorReorderList - 1.0.1 + 1.0.2 Santiago Cattaneo https://github.com/elgransan/BlazorReorder Drag and Drop Reorder List for Blazor, with the less JS interop possible diff --git a/BlazorReorderList/Reorder.razor b/BlazorReorderList/Reorder.razor index 565386f..99f4ec4 100644 --- a/BlazorReorderList/Reorder.razor +++ b/BlazorReorderList/Reorder.razor @@ -147,7 +147,7 @@ // If is on top of an element or if top top of a empty list -> confirm drag if (await isOnTop(subItem, pos) || - Items.Count == 0 && await isOnTop((ElementReference) reorder, pos)) + Items.Count == 0 && await isOnTop(reorder, pos)) { // reorder if (!rs.isCopy()) diff --git a/README.md b/README.md index 90f1cd4..e9ab2f9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Blazor Reorder -Download Reorder +Download Reorder ### Live Examples https://elgransan.github.io/BlazorReorder