- priority: 5 --> 7
At the moment, the context menu component always opens to the right and down from the mouse position. In cases where the component having the context menu attached is very near to the browser window's border, the context menu opens "behind" the window border - invisible to the user and such unusable.
A possible solution is to make the position of the context menu configurable, as shown in the following example:
<ctxMenu position="RIGHT_DOWN (default) | RIGHT_UP | LEFT_UP | LEFT_DOWN">
...
</ctxMenu>
This will open the context menu in all four directions possible.
CAUTION: The sub menus - if any - should follow this configuration, so when the position is set to "LEFT_UP", the sub menus of the context menu should open to the left and up, too.
Thank you!
Log in to post a comment.