isaacplmann / ngx-contextmenu

An Angular component to show a context menu on an arbitrary component
MIT License
248 stars 91 forks source link

context menu positioning #117

Open asaf-paz opened 6 years ago

asaf-paz commented 6 years ago

Hi, I've just upgraded from angular 5 to angular 6 and my ngx-contextmenu has started to appear on the top left side of the screen each time i right click an item instead of showing up next to my mouse pointer. I've checked the HTML and i don't see any positioning applied to the context menu, suggesting something has gone wrong and your module cant see its calculations right. I've used version 4.1.2 of ngx-contextmenu. I've tried to upgrade to version 5.0.0 and still experiencing the same issue. Have any idea how i can proceed in order to solve my issue?

Other than the positioning, everything is working great.

Thanks.

asaf-paz commented 6 years ago

found the error: image

haskasu commented 6 years ago

this pr fixed it https://github.com/isaacplmann/ngx-contextmenu/pull/116