My context menu has a lot of items, and if you right click on the map towards the bottom, the menu comes up half cropped by the end of the page, thus creating scrollbars.
Is there a way to make the menu come up above the cursor, rather than below, when it won't fit on the page? Basically offset the top by the height. Same thing goes for when right clicking too close to the right side of the screen.
Thanks,
Rob