Topic: Close bug in long dropdown inside modal
<button type="button" class="btn btn-primary waves-effect waves-light" data-toggle="modal" data-target="#centralModalInfo">Central Modal</button>
<div class="modal fade" id="centralModalInfo" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-notify modal-info" role="document">
<div class="modal-content">
<div class="modal-header">
<p class="heading lead">Modal Info</p>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" class="white-text">×</span>
</button>
</div>
<div class="modal-body">
<select class="mdb-select">
<option value="" disabled selected>Choose your option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
-- Truncated for brevity
</select>
<label>Example label</label>
</div>
</div>
</div>
</div>
tblfounder pro answered 8 years ago
Edyta Dabrowska answered 8 years ago
hockchuan answered 8 years ago
Bartłomiej Malanowski staff pro premium answered 8 years ago
Rothert pro commented 6 years ago
Hello, Seems that this issue is still unsolved, because I’m facing the same problem with MDB pro V4.5.7 Unfortunately, removing the tabindex=”-1″ on the Modal, does not fix the issue in my case. This only happens when a scrollbar appears in the drop-down list Any idea? Thanks a lot Best regards Peterhockchuan answered 8 years ago
Rothert pro answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No