File tree 3 files changed +10
-5
lines changed 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 16
16
<Copyright />
17
17
<PackageTags >blazor blazor-component blazor-context-menu context-menu contextmenu menu blazor-menu blazorcontextmenu razor razor-components razorcomponents</PackageTags >
18
18
<VersionSuffix >$(VersionSuffix)</VersionSuffix >
19
- <Version >2.0 .0</Version >
19
+ <Version >2.1 .0</Version >
20
20
<Version Condition =" '$(VersionSuffix)' != '' " >$(Version)-$(VersionSuffix)</Version >
21
21
<Product >Blazor.ContextMenu</Product >
22
22
</PropertyGroup >
Original file line number Diff line number Diff line change @@ -275,17 +275,17 @@ var blazorContextMenu = function (blazorContextMenu) {
275
275
blazorContextMenu . Hide ( subMenu . id ) ;
276
276
}
277
277
278
- i = currentMenuList . childNodes . length ;
278
+ i = currentMenuList . children . length ;
279
279
while ( i -- ) {
280
280
var child = currentMenuList . children [ i ] ;
281
281
if ( child == currentItemElement ) continue ;
282
282
child . removeEventListener ( "mouseover" , closeSubMenus ) ;
283
283
}
284
284
} ;
285
285
286
- var i = currentMenuList . childNodes . length ;
286
+ var i = currentMenuList . children . length ;
287
287
while ( i -- ) {
288
- var child = currentMenuList . childNodes [ i ] ;
288
+ var child = currentMenuList . children [ i ] ;
289
289
if ( child == currentItemElement ) continue ;
290
290
291
291
child . addEventListener ( "mouseover" , closeSubMenus ) ;
Original file line number Diff line number Diff line change @@ -244,7 +244,12 @@ public class Startup
244
244
</details>
245
245
246
246
## Release Notes
247
- <details open =" open " ><summary >2.0</summary >
247
+ <details open =" open " ><summary >2.1</summary >
248
+
249
+ > - Fix for [ #155 ] ( https://github.com/stavroskasidis/BlazorContextMenu/issues/155 ) . Contributed by [ adrien426] ( https://github.com/adrien426 ) .
250
+ </details>
251
+
252
+ <details ><summary >2.0</summary >
248
253
249
254
> - Upgrade to dotnet 8.0
250
255
</details>
You can’t perform that action at this time.
0 commit comments