This library provides a simple wrapper for your context menus. It handles user interaction on desktop and mobile devices, and guarantees correct context menu positioning.
Links: