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

md-menu: md-backdrop does not get removed #3741

@stefan-schweiger

Description

@stefan-schweiger

I have a hard time reproducing this but sometimes (like every 5th time) when using the md-menu the md-backdrop does not get removed when clicking on a menu option, and the whole site becomes unclickable.

This is what the end of my html page looks like when it stops working.

<div class="md-scroll-mask" style="z-index: 50">
    <div class="md-scroll-mask-bar"></div>
</div>
<md-backdrop class="md-menu-backdrop md-click-catcher md-default-theme">
</md-backdrop>
<div class="md-open-menu-container md-whiteframe-z2 md-default-theme md-active md-clickable"
     style="top: 58px; left: 171.515625px; -webkit-transform-origin: left top 0px;">
    <md-menu-content class="md-default-theme">
        <md-menu-item>
            <button class="md-button md-default-theme"
                    ng-transclude=""
                    ng-click="vm.onSplit('vertical')"
                    ng-disabled="vm.item.sizeX <= 1"
                    aria-label="split vertical"
                    tabindex="0"
                    aria-disabled="false">

                <md-icon class="mdi mdi-split ng-scope ng-isolate-scope md-default-theme"
                         aria-hidden="true">
                </md-icon>
                <span class="ng-binding ng-scope">Split vertical</span>
            </button>
        </md-menu-item>
        [...]
    </md-menu-content>
</div>

EDIT: At first I suspected md-scroll-mask caused this, but it apparently didn't

Metadata

Metadata

Assignees

Labels

needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityneeds: more infoThe issue does not contain enough information for the team to determine if it is a real bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions