Ionic backdrop z-index not working


#1

Hi,

I’m using the $ionicBackdrop.retain (); and $ ionicBackdrop.release (); to appear the fade when opening my floating menu (I’m using the ng-material-floating-button)

However, I can not leave the menu above the backdrop

I’ve tried to tinker with both the menu and the backdrop classes.

My attempts:

Class backdrop:

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 12; or other value
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.1s opacity linear;
    transition: 0.1s opacity linear;
}

Class menu:

.mfb-component--tl, .mfb-component--tr, .mfb-component--bl, .mfb-component--br {
    box-sizing: border-box;
    margin: 25px;
    position: fixed;
    white-space: nowrap;
    z-index: 9999; or other value
    padding-left: 0;
    list-style: none;
}

Any idea?

Thanks all