Hi,
We use dhtmlXMenuObject in our app to show context-menu as given in below snippet.
Showing context menu at mouse click position and scroll displayed when there are more than 20 items in context-menu.
The problem I have is when context menu displayed at bottom of the page in browser, it is going beyond browser visible area and menu items getting truncated without showing bottom scroll button.
How to bring scroll when context-menu is going beyond view-port? I want to show context-menu always in visible area of browser and display scroll when there is no space to show all 20 menu items(as per my configuration).
var view = new dhtmlXMenuObject();
view._showPolygon = new_showPolygon;
view.setOpenMode(“web”);
view.setAutoHideMode(true);
view.renderAsContextMenu();
view.setOverflowHeight(20);
I observed same behavior in DHX samples page below. When I re-size browser to show only one menu item , I see menu-items going beyond visible area and scroll is also not coming. dhtmlx.com/docs/products/dhtmlxG … .html#code
Thanks in Advance.