Roots Discourse

Bootstrap modals error

Hi there, I’m getting this console error when trying to use a Bootstrap modal in Sage 9. Does anyone have any advice for how to overcome it? Thank you!

Uncaught Error: Modal is transitioning
at Modal.hide (main.js:4263)
at Modal.toggle (main.js:4205)
at HTMLDivElement. (main.js:10930)
at Function.each (jquery-1.12.4.min.js:2)
at n.fn.init.each (jquery-1.12.4.min.js:2)
at n.fn.init._jQueryInterface [as modal] (main.js:10912)
at HTMLButtonElement. (main.js:10976)
at HTMLDocument.dispatch (jquery-1.12.4.min.js:3)
at HTMLDocument.r.handle (jquery-1.12.4.min.js:3)

We would need to see more of your code. How are you invoking the modal? What have you tried?

1 Like