Skip to content

Commit 26c858b

Browse files
authored
Update app.js
Fix: If angular-filemanager was embedded in some other parent div (e.g. bootstrap modal) with CSS position absolute or relative, then the position of contextmenu would be wrong.
1 parent 6ac9190 commit 26c858b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
menu.hide().css({
2929
left: e.pageX,
3030
top: e.pageY
31-
}).show();
31+
}).appendTo('body').show();
3232
e.preventDefault();
3333
});
3434

0 commit comments

Comments
 (0)