Responsive menu, bugs in android 6.0.1

0
Well, I'm doing a responsive menu, it was working perfectly, and it's still on most devices, the problem is that in the second image, using a mobile with the newest version of android, the buga menu and the social icons I'm trying to use z-index , but it's not working. Would anyone know how to solve it?

* HTML and CSS at the end of the question

Iphone 5 - android ver 5.0.1

GalaxyOn7-androidver6.0.1

HTML

<divclass="header-mobile on-top" id="mobile-header">
            <div class="user-holder">
                <p class="user-list"><!-- Ícone para abrir o menu --></p>
                <nav class="user-opt">
                    <p id="close-i">
                        <i class="fa fa-times fa-2x" aria-hidden="true"></i>
                    </p>
                    <!-- Imagem mostrada dentro do menu e nome de usuário -->
                    <figure class="imagem-atual">
                        <img src="img/perfil.jpg" alt="imagem-usuário">
                        <figcaption>Murilo Gambôa</figcaption>
                    </figure>
                    <!-- Barra de Opções -->
                    <ul>
                        <a href="meu-perfil.html"><li class="item-1"><i class="fa fa-cog i-menu" aria-hidden="true"></i><span>Editar perfil</span></li></a>
                        <a href="ultimos-adicionados.html"><li class="item-2"><i class="fa fa-video-camera i-menu" aria-hidden="true"></i><span>Últimos vídeos</span></li></a>
                        <a href="http://webmail.impd.org.br/webmail" target="_blank"><li class="item-3"><i class="fa i-church i-menu"></i><span>Eclesiástico</span></li></a>
                        <a href="ajuda.html"><li class="item-4"><i class="fa fa-question i-menu" aria-hidden="true"></i><span>Ajuda</span></li></a>
                        <a href="index.html"><li class="item-5"><i class="fa fa-sign-out i-menu" aria-hidden="true"></i><span>Sair</span></li></a>  
                    </ul>
                </nav>
                <!-- Ícones sociais -->
                <ul class="social" id="social-icons">
                    <li class="is is-1"><a href="" class="is" target="_blank">Facebook</a></li>
                    <li class="is is-2"><a href="" class="is" target="_blank">Twitter</a></li>
                    <li class="is is-3"><a href="" class="is" target="_blank">Instagram</a></li>
                    <li class="is is-4"><a href="" class="is" target="_blank">YouTube</a></li>
                </ul>
            </div>
        </div>

CSS

/* Menu do usuário */
.user-opt{
    width: 80%;
    max-width: 280px !important;
    height: 100%;
    max-width: 360px;
    background-color: rgba(255,255,255,1);
    position: fixed;
    top: 0;
    left: -360px;
    z-index: 2;
    transition: left .6s ease-in-out;
}
/* Itens do Menu */
#close-i{
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(58,172,243,1);
}
/* Alinhamento de texto para as opções da lista */
.user-opt ul a li{
    box-sizing: border-box;
    padding: 10px;
    position: relative;
    height: 100%;
}
/* Ícones Sociais */
.social{
    float: right;
}
.i-menu{
    margin-left:44px;
    width:30px;
}
    
asked by anonymous 11.10.2016 / 16:30

1 answer

0

It was necessary to add a second 'layer' (div) in order to play the menu above the social icons

Ex (CSS):

.nova-div{
 float:left;
 position:absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 z-index: 2; /*colocar o menu como z-index 3*/
}
    
18.10.2016 / 21:21