Kendo Context menu anchored with Right to left

923 Views Asked by At

I am trying to use Kendo Context menu with Kendo treeview, the issue is when the body is right-to-left (has class "k-rtl") the position of the context menu is wrong. and to make sure it is not from my code i tried to changed one of simple examples from Kendo website and found same result, the example I had modifed can be found on http://dojo.telerik.com/ovUVU.

Any Idea how to fix this !!! Many thanks

2

There are 2 best solutions below

0
On

after trying many scenarios, I found that there are incorrect behaviour which i can not explain (if anyone can please), however, i can make it run by setting filter to a span or anchor elements which are inside the list items (not div not paragraph !!!)

For Span element (working): http://dojo.telerik.com/ovUVU/6

for Paragraph element (not working): http://dojo.telerik.com/ovUVU/7

if anyone has an idea why this happens, please explain

2
On

Does not look like correct behavior to me. Here is a workaround that you can use:

http://dojo.telerik.com/ovUVU/2