DEV Community

Discussion on: How to Use Bootstrap Modals Without jQuery

Collapse
 
hggonzalezdev profile image
Gabriel Gonzalez

I'm trying this but with BS3, I'm not adding the backdrop from react, instead I'm letting Bootstrap and Jquery to handle that part (I'm loading both from a CDN inside the html file).

I can close the modal without any issue but when I tried to open it again I need to click the button twice (not sure what the first click does but the second is the one that open the modal)

Collapse
 
ara225 profile image
Anna Aitchison

If you're loading jQuery anyway, it probably doesn't make sense to use this method, also this wasn't tested with BS3. That said, sounds like a invisible brackdrop is present, I'd use dev tools in the browser to check