Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

can't click outside of menu to close in firefox. #3269

Closed
ghost opened this issue Jun 15, 2015 · 2 comments
Closed

can't click outside of menu to close in firefox. #3269

ghost opened this issue Jun 15, 2015 · 2 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Jun 15, 2015

This happens in rc4.
https://material.angularjs.org/0.10.0-rc4/#/demo/material.components.menu

I can open the menu in firefox but I'm forced to pick an option. I can't click outside the menu to close in the event that I don't want to pick an option.

Also, the image icons don't show up on the same line as the text.

@ntatic
Copy link

ntatic commented Jun 15, 2015

It also happens with mdSelect

Workaround i use for it:

app.run(function () {
    // md-scroll-mask z-index bug
    jQuery('body').on('click', '.md-scroll-mask', function () {
        jQuery('.md-select-backdrop').trigger('click');
    });
});

@Abrissirba
Copy link

Caused by 6911506. Firefox and IE11 return "auto" when no z-index is set while chrome returns "". Firefox and IE11 will therefore be NaN and set the scrollmask z-index to 99 while chrome will set the scrollmask z-index to -1.

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

No branches or pull requests

4 participants