ContextMenu with encoded items renders shows a span's Html in the item's text. Possibly related to: #7410
The item that has encoded="true" renders show's the Html of the span element that wraps the text of the item. The span has the k-menu-link-text class.
Only the item text should be visible.
A Menu submenu sometimes detaches from its parent when the root element is hovered.
This issue is difficult to reproduce. Multiple tries are needed.
The subitem should not detach from its parent
Regression introduced with 2023.2.606
The menu dropdown does not respect hoverDelay and it remains open on initial expansion.
If the mouse/cursor doesn't hover over the menu item for the entirety of the hover-delay duration, the menu item opens.
If the mouse/cursor doesn't hover over the menu item for the entirety of the hover-delay duration, the menu item should not open. This behavior can be exhibited with versions prior to 2023.2.606.
For example:
https://dojo.telerik.com/iyAfaVUR
Menu popup container closes on hover when scrollable
is enabled.
This is a regression introduced with v2023.2.606.
Popup container closes on hover and subitems cannot be selected.
Popup container should not close on hover.
Security trimming returns incorrect items when there are two controllers with the same name but located in different areas.
With the following Menu configuration
@(Html.Kendo().Menu()
.Name("menu")
.SecurityTrimming(st=>{
st.Enabled(true);
})
.Items(i=>{
i.Add().Action("MyAction","Home",new {area = "Area1"}).Text("Accessible Item");
i.Add().Action("MyAction","Home",new {area = "Area2"}).Text("Authorized Item");
})
)
and the following area/controller/action structure the MyAction Action in Area2 will not be trimmed.
Areas
|--Area1
| |--Controllers
| |--HomeController
| |--MyAction
|--Area2
|--Controllers
|--HomeController
|--[Authorize]MyAction
MyAction Action in Area2 should be trimmed.
Adding the [Authorize]
attribute to a controller does not hide the action methods when SecurityTrimming is enabled.
[Authorize]
attribute to a controller: [Authorize]
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
public IActionResult About()
{
return View();
}
@(Html.Kendo().Menu()
.Name("menu")
.SecurityTrimming(st=>{
st.Enabled(true);
})
.Items(i=>{
i.Add().Action("Index", "Home").Text("Index");
i.Add().Action("About", "Home").Text("About");
})
)
The Index and About menu items will not be hidden.
The Index and About menu items should be hidden when the [Authorize]
attribute is added to the controller.
When the hoverDelay of the Menu widget is enabled the items of the Menu do not collapse properly after their initial expand.
Behavior occurs only on first expand of the items.
If the behavior isn't reproducible at initially refresh the page and try again.
Menu Items that aren't currently hovered over should collapse.
Menu Items remain expanded.
Security Trimming does not work with custom authorization attributes
When custom authorization attribute is used it is not evaluated and the menu item not hidden, if authorization has failed.
Security Trimming does not work with custom authorization attributes.