Hi in my laravel blade I have a modal opening up when the screen orientation is Portrait with a message saying rotate the screen to landscape mode.
But Every time when I check this with iPad pro portrait mode, even though the modal pops up, it's blocked with the backdrop div
The modal works fine on same device but the landscape mode...
Following is the modal code
<div id="oMsg" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- device orientation modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">{{ __('Attention') }}</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body info">
<p class="roleChange_popupText">
Veuillez faire pivoter votre appareil en mode paysage.
</p>
</div>
<div class="modal-footer mb-4">
<div class="col-md-12 text-right mb-4">
<button type="button" data-dismiss="modal" class="btn btn-primary btn-admin-form-save">{{ __('Confirmer') }}</button>
</div>
</div>
</div>
</div>
</div>
How can I take the modal to the front and enable the button on portrait mode?