I’m using Livewire and Turbolinks with Bootstrap 4 Modal. If I refresh and open the page, the modal backdrop will be normal. However, the modal backdrop opacity keeps getting darker and darker as I open other pages, I assume the opacity was not reset when Turbolinks loads in another page. I tried to find the backdrop element, but it looks like the opacity is generated on the fly by javascript. Has anyone seen the same problem? What’s the fix?
Bootstrap 4 Modal backdrop getting darker with Turbolinks
My guess is that you “killing” modal without closing it properly.
Modal backdrop is created for modal somewhere at the bottom of a page (outside the modal) and probably after some time you have collected several backdrops there that are making page darker and darker.
It’s a close normal way! but as I said getting darker!