Context menu goes outside screen boundary

3 posts, 0 answers
  1. Dovydas
    Dovydas avatar
    5 posts
    Member since:
    Nov 2011

    Posted 08 Oct 2014 Link to this post

    For some reason context menu goes outside screen boundary (see attached image) and this forces scrollbars to appear. If the target is at the bottom of the screen, then the context menu covers the target element itself.

    This problem only occurs when the page has vertical scrollbar.

    Initialization script:
    jQuery(function(){
       jQuery("#SettingsContextMenu").kendoContextMenu({"openOnClick":true,"alignToAnchor":true,"target":"#GridSettings","showOn":"click"});});<br>
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 10 Oct 2014 Link to this post

    Hello Dovydas,

    The ContextMenu has screen boundary detection, and you can see this on our online demos. Here is a video that I created:

    http://www.screencast.com/t/JuBGeYLe3RX6

    I am not really sure what happens in your case, so if you can isolate the example in a small dojo sample, we will be able to reproduce the issue and advise you further.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Dovydas
    Dovydas avatar
    5 posts
    Member since:
    Nov 2011

    Posted 10 Oct 2014 Link to this post

    Yes, I managed to reproduce the problem here: http://dojo.telerik.com/OlAV.  

Back to Top