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

Opened Babel menu in Manager shines through Manager dropdown menu #162

Open
enigmatic-user opened this issue Jan 26, 2018 · 0 comments
Open

Comments

@enigmatic-user
Copy link
Contributor

On small screens (1280 x 1024 in my case on my third monitor), when the Babel menu in the MODX Manager (in a resource) is opened, it stays open when accessing the main Manager menu, and because of its high z-index, the Babel menu items are placed over the MODX dropdown menu.

I tried to solve this by setting some z-index values in a custom Manager theme, but as ExtJS is used, this is z-index hell and would require much work.

The main problem is that the Menu opens on mouseover, but doesn't close on mouseout, and since the Babel menu is placed directly below the Manager menu, the Babel menu is opened accidentally all the time when the Manager menu is meant to be accessed.

I know the mouseover behavior has been implemented because of a request (see Less clicking in MODX manager Babel button), but in this case the onclick event would be suited much better to prevent this problem most of the time. Do you think it's possible to make the event that triggers opening the menu configurable via the Babel settings? That would be very helpful...

If you know a (more or less easy) way to just override this, e.g. in a custom Manager theme, that would be sufficient, too.

For the moment being, I have just modified the file /assets/components/babel/js/babel.class.js, but obviously that's no permanent solution.

Thank you very much in advance!

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

No branches or pull requests

2 participants