1
Guys... I have a registration modal. Since I would like to call another modal, being still inside it. I mean... It would be superimposed on my registration modal.
I’m using the code to call my modal in Bootstrap 4:
<button class="btn btn-outline-secundary my-2 my-sm-0" id="iniciaCadastro" type="button" data-toggle="modal" data-target="#cadastraModal">Cadastre-se</button>
The structure is similar to the one we have in the bootstrap documentation. Using Header, Body and footer.
In the footer, I try to call another modal, with details of terms and conditions.
<a href="#" data-toggle="modal" data-target="#termosModal">Termos de uso</a>
But it seems to me that bootstrap does not support this strategy...
Can someone help me solve this problem?
Bootstrap does not support nested modals. As stated in documentation: "Bootstrap only Supports one modal window at a time. Nested modals aren’t supported as we Believe them to be Poor user Experiences."
– Luiz Felipe