I have many context menus that used to work just fine. At one time I positioned them myself taking scroll into account (complicated) but then I changed to Telerik and the nice Telerik context menu placed them nicely itself as it should.
Now, when the main window is scrolled the context window displays without the scroll distances added - so it shows above the click. This error happens in Chrome and Opera, but it works fine in Safari, and Edge. It used to work fine in Chrome, just noticed it does not now.
I simply use contextMenu.show(event); on a to display the RadContextMenu. They all happen on a button click called to a javascript to show the RadContextMenu,
<
asp:Button
ID
=
"AddFormRowButton"
CssClass
=
"btn btn-default menubutton"
runat
=
"server"
Text
=
"Add Form Row ≡"
OnClientClick
=
"return ShowAddFormRow(event);"
UseSubmitBehavior
=
"False"
/>
function ShowAddFormRow(event) {
var contextMenu = $find("<%= FormAddRowMenu.ClientID %>");
if ((!event.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), event.relatedTarget))) {
contextMenu.show(event);
}
else {
alert("Event error");
}
return false;
}
Any idea if this has been noted and when it might be fixed.