With custom layouts I find that contextual links to not display properly if the region containing the menu or block item is smaller that the height of the contextual link. A typical example might be a navigation region containing a horizontal menu.

I have tried various css things such as overflow:visible and z-index:9999 and have applied these to the region class as well and the contextual links but with no success.

Any suggestions?