div.context-menu {
	position : absolute;
	border: 1px solid #A4BED4;
	background-color: #D9EAFF;
	min-width : 100px;
	padding: 5px 0;
	box-shadow : 2px 2px 4px #444;
	display : inline-block;
}

div.context-menu-item {
	padding : 0 5px;
	line-height : 1.5em;
	cursor : pointer;
}

div.context-menu-item:hover {
	background-color : #C3D6EE;
	
}

div.context-menu-item-disabled {
	padding : 0 5px;
	line-height : 1.5em;
	color : #aaaaaa;
}

div.context-menu {
	position : fixed;
	border: 1px solid #A4BED4;
	background-color: #D9EAFF;
	min-width : 100px;
	padding: 5px 0;
	box-shadow : 2px 2px 4px #444;
	display : inline-block;
	z-index : 10002;
}

div.context-menu-item {
	padding : 0 5px;
	line-height : 1.5em;
	cursor : pointer;
}

div.context-menu-item:hover {
	background-color : #C3D6EE;
	
}

div.context-menu-item-disabled {
	padding : 0 5px;
	line-height : 1.5em;
	color : #aaaaaa;
}

Change absolute to fixed position
Change absolute to fixed position

Absolute positioning didn't work if the selector item (or parent) was absolute or relative.