Open gaand opened 8 years ago
Like modalClosed
etc?
Yeah. It may actually be more complicated than my issue indicates. I need to research it a bit.
Any additions to this issue for cohort 016? Planning to present without closing the issue.
@ga-wdi-boston/core Please ping me when preparing this talk next time so we can discuss this (unless it's made obsolete buy other curriculum changes).
Is it appropriate to address this during the Modals lab?
Related #28
This has come up a few times. Most recently, folks are using setTimeout
to indeterminately avoid a race condition with handlebars-rendered modals.
@raq929 recalls this happening many times in 015 as well (though no one used setTimeout to avoid it).
My preferred solution is to use the modal
instance methods bootstrap provides on modal elements via its jQuery plugins. http://getbootstrap.com/javascript/#modals-methods
I'd prefer to get rid of using modals altogether and teach bootstrap generated events a different way.
I'd prefer to get rid of using modals altogether and teach bootstrap generated events a different way.
Me too! #28
Including explicit discussion about not using jQuery show/hide & using Bootstrap methods instead.
Which I believe led to many of their problems using them.