Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by abrauer on Mar 13, 2009 04:57
open dhtmlx forum
incorrect position of context menu

We are using dhtmlxSuite 2008 Rel.3 (DHTMLX 2.0) Professional edition build 81009/81107
And though the whats_new.txt file states that context menu positioning has been fixed,
it does not work properly under certain conditions.

In Internet Explorer when a vertical scrollbar exisists and the content
is pulled down the context menu will pop up aligned with bottom
of selected tree item. As such it will be (partly) invisible,
though there is just enough space when top alignment would have been used.

In opposite when I select an tree item close to the browser bottom,
the context menu will be aligned with the item's top
and again be partly invisible. Again there would be no problem when
alignment would be bottom now. This occurs in IE and FF.
Answer posted by Alex (support) on Mar 13, 2009 07:20

Hello, 

Some issues with menu positioning were fixed in the latest tree version.

We have sent you the sample with the latest tree and menu libraries by email. 

If the problem persists, please provide the complete sample or direct link to reproduce the it (to support@dhtmlx.com)

Answer posted on Mar 16, 2009 05:12
Hi,

the first issue where the context menu was aligned at bottom with items close to top is resolved
with your code. But the second still remains. I attached a screenshot that was taken
with your example.

regards

Attachments (1)
Answer posted by Alex (support) on Mar 16, 2009 07:59

Hello, 

The screenshot demonstrates the correct behaviour - the menu will be visible if you scroll the page. The menu is not hidden.

Answer posted on Mar 16, 2009 08:16
Well this is a point of view --
even when it is totally different from what everyone else is doing.

In IE or FF when you move the browser far enough down to the screen bottom
so the normal browser context menu will not fit into the available space any more
the menu will be bottom aligned with the mouse point to make it completely visible.
A attached a screenshot to make clear what I mean.

I think the behaviour of the dhtmlx context menu is not very user friendly.


Attachments (1)
Answer posted by Alex (support) on Mar 16, 2009 08:44

Unfortunately, currently dhtmlx menu doesn't provide the described feature.