[v4] Modal flickering when within .list-group-item
See original GitHub issueHi,
In some cases the modal filckers (see video).
This is the html:
<div class="row align-items-center">
<div class="col-md-6">
<strong>Test</strong> <br>
Street 1 31 <span><span class="badge badge-info">Primary</span></span> <br>
1234AA Amsterdam <br>
</div>
<div class="col-md-6 text-right"><!---->
<div class="d-inline-block text-left">
<a href="#" class="btn btn-sm btn-warning">Edit</a>
<div tabindex="-1" role="dialog" id="editModalLHzoKhSu" class="modal fade">
<div role="document" class="modal-dialog">
<form class="modal-content">
<div class="modal-header"><p id="editAddressModalLabel" class="modal-title h5">Edit address</p> <button type="button" data-dismiss="modal" aria-label="Close" class="close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
// Form
</div>
</form>
</div>
</div>
</div>
</div>
</div>
If you need more info, please let me know 😃
- OS: MacOS,
- Browser: Chrome 63.0.3239.84
Issue Analytics
- State:
- Created 6 years ago
- Reactions:13
- Comments:18 (5 by maintainers)
Top Results From Across the Web
Twitter Bootstrap modal window flickers - Stack Overflow
In my case I had a stuttering/flickering/flattering modal on hover. The solution is: Don't place ... .list-group-item, .list-group-item:hover{ z-index: 1 }.
Read more >Bootstrap V5 Modal flickering when within .list-group-item
Insecure Resource. The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https....
Read more >Modal is causing flicker of content in the Accordion
This behavior happens every time the Accordion is populated with items and a Modal Component is being used. I tried clearing out the...
Read more >Bootstrap Modal blinks, disappears - West Wind Message Board
This works fine on every page EXCEPT 1. On that page, the modal appears for a blink and then disappears. I've been looking...
Read more >How to stop modal popup from flickering during postback
When the user types in a value in the popup and hits the save button the popup stays on the screen but it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Quick fix for now:
.list-group-item, .list-group-item:hover{ z-index: auto; }
Here is the JS bin: https://jsbin.com/sitemohuno/2/edit?html,js,output
The problem happens when the modal is within a list-group-item. Normally I place my modals at the bottom of the body, but I can’t in my current project, because i’m using vue components.