Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dilipshelake03 opened this issue Feb 19, 2018 · 3 comments

Comments

@dilipshelake03
Copy link

dilipshelake03 commented Feb 19, 2018

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
Copy link
Contributor

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

@DukaN
Copy link

DukaN commented Mar 19, 2019

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

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

Its working fine

@KennethVerbeure
Copy link
Contributor

KennethVerbeure commented Mar 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants