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

z-index reset upon scrolling start (when menu is longer than page height). #59

Closed
klonos opened this issue Dec 20, 2016 · 2 comments
Closed

Comments

@klonos
Copy link

klonos commented Dec 20, 2016

I've noticed this issue while trying to troubleshoot backdrop/backdrop-issues#2161...

There is a z-index of 10001 applied to the <ul> of expanded menus that go beyond the height of the page. It is applied once you hover over the parent menu and the menu is expanded. The same z-index is also applied to the scroll-up and scroll-down <span>s. Soon as there is a scroll event on the mouse though, the z-index is removed from the <ul> (still retained on the scroll <span>s):

smartmenus-z-index_gone_after_scroll

@vadikom
Copy link
Owner

vadikom commented Dec 21, 2016

Nope, the z-index of the <ul> is only reset after it is hidden not onscroll. In your case, the style value just seems to be truncated in the dev tools view (since it's too long) but the z-index declaration is still active, you can be sure of that.

I will now check the linked issue you mentioned and see if I could be of any help...

@klonos
Copy link
Author

klonos commented Dec 21, 2016

Yep, double-checked and you are right that the z-index is there. Don't know what is going on then. Hmm?

@vadikom vadikom closed this as completed May 2, 2017
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

2 participants