When a vertical menu is rendered, the arrow denoting a sub-menu starts out in the wrong position, left aligned against the menu item text, and then moves to its correct right aligned position.
Sometimes this is barely perceivable, but other times is very noticeable, mostly during navigation. See the attached GIF for an example of the issue.
I suspect it has something to do with page resources loading (e.g. CSS).
I am unable to reproduce this with Kendo UI in the Dojo, but this is probably because the menu is not rendered on page load.
It is mostly noticeable in Chrome, but can be seen in Edge and IE (it's difficult to tell with Edge/IE because their rendering in general is terrible).
Code used for the menu:-
@(Html.Kendo().Menu()
.Name(
"menu"
)
.Orientation(MenuOrientation.Vertical)
.HtmlAttributes(
new
{
style =
"width: 200px;"
})
.Items(items =>
{
items.Add().Text(
"Meters"
).Action(
"Index"
,
"Meter"
).Items(x =>
{
x.Add().Text(
"Create"
).Action(
"Create"
,
"Meter"
);
});
items.Add().Text(
"Meter Groups"
).Action(
"Index"
,
"MeterGroup"
).Items(x =>
{
x.Add().Text(
"Create"
).Action(
"Create"
,
"MeterGroup"
);
});
items.Add().Text(
"Meter Types"
).Action(
"Index"
,
"MeterType"
).Items(x =>
{
x.Add().Text(
"Create"
).Action(
"Create"
,
"MeterType"
);
});
items.Add().Text(
"Messages"
).Action(
"Index"
,
"Message"
);
})
)