-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Issue Overview
Bootstrap modals does not work responsively following one of these modals examples.
Current Behaviour
Bootstrap modals are not visible in small screens.
Expected Behaviour
The modal should work even on mobiles as in the Bootstrap modals examples
How to reproduce
- Paste in the index.xhtml, inside the
<ui:define name="body">
the following code:
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter"> Launch demo modal </button> <!-- Modal --> <div class="modal" tabindex="-1" role="dialog" id="exampleModalCenter"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Modal title</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p>Modal body text goes here.</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-primary">Save changes</button> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </div> </div> </div>
- Click the button
Launch demo modal
. - Try shinking the screen size, the modal will disappear (even on mobiles the modal is not positioned well)
Additional Information
- Mojarra version: 2.2.15
- AdminTemplate version: 1.0.0-RC18
- PrimeFaces version: 6.2
Metadata
Metadata
Assignees
Labels
No labels