bootstrap-3-modal icon indicating copy to clipboard operation
bootstrap-3-modal copied to clipboard

Modal not showing after browser update

Open nosizejosh opened this issue 5 years ago • 4 comments

@PeppeL-G
I have been using this wonderful package with bootstrap 4 and it has worked fine until my chrome browser updated. Click events to show modals don't result in any errors neither does the modal show up.

Modal shows in older versions of firefox and Opera browsers. I believe the issue may be related to this but not sure what to do make this package show the modals.

I need help fixing this issue, its critical!

nosizejosh avatar Jul 21 '19 20:07 nosizejosh

I don't think the issue is related to that, because this package does not make use of that function.

Without seeing your code I don't know how to help you, but you say that you don't get any errors and that the modal doesn't show up. Can you check if the modal (the HTML code for it) is inserted into the DOM after you have called show()? It should be a direct child of <body>.

PeppeL-G avatar Jul 22 '19 09:07 PeppeL-G

Also, this line of code could be the problem. I didn't spend much time on figuring out how it actually worked, but I thought that was a Meteor internal thing, so if it stops working it shouldn't work in any browser.

PeppeL-G avatar Jul 22 '19 09:07 PeppeL-G

Or are you using Bootstrap 4? #44 mentions a workaround for getting this package to work in Bootstrap 4 (this package was only meant to be used for bootstrap 3).

PeppeL-G avatar Jul 22 '19 09:07 PeppeL-G

Thank you so much. It turns out my browser had stored some data and cookies which was preventing normal functioning of modal.

Clearing those resolved the issue.

Thank you.

nosizejosh avatar Jul 23 '19 09:07 nosizejosh