Templarian / ui.bootstrap.contextMenu

AngularJS Bootstrap UI Context Menu
MIT License
259 stars 127 forks source link

Context menu menu options cut off at bottom of the window in internet explorer 11. #134

Open dilipshelake03 opened 6 years ago

dilipshelake03 commented 6 years ago

ie11 I am using "ui.bootstrap.contextMenu" for showing context menu on "right click" .

While working on internet explorer 11, if we reach to the bottom of the window & try to show context menu by "right click" then its get cut off at bottom side.

Only first 2 menu options are showing and remaining options containing sub-menu options are not visible. I am facing this issue for internet explorer 11 only. its working well on other browser.

Please let me know, more on this. where i am doing wrong ?

KennethVerbeure commented 5 years ago

Same issue here.... year later... is someone still looking at this project?

DukaN commented 5 years ago

You could replace var winHeight = $window.scrollY + event.view.innerHeight;

To: var winHeight = document.documentElement.scrollTop + event.view.innerHeight;

Its working fine

KennethVerbeure commented 5 years ago

ye its what i did, i forgot i had this open. Thank you for the reply