thebird / Swipe

Swipe is the most accurate touch slider.
MIT License
6.79k stars 1.69k forks source link

Bootstrap Modals #336

Open julianozen opened 10 years ago

julianozen commented 10 years ago

Doesn't seems like anyone else would have this problem but here it goes anyway.

I've implemented Swipe into Bootstrap's modal windows. http://getbootstrap.com/2.3.2/javascript.html#modals

It actually works pretty well... sort of. http://julianozen.com/demo.html

See when the popup opens, it seems to not load, but resizing the windows (or rotating a mobile will allow it to render.

I'll be honest, I'm not really sure even where to look at what might be wrong.

If anyone has some advice, I'd really appreciate it. Thanks.

bmihelac commented 10 years ago

Initialize Swipe on when modal "shown" event is triggered. See

http://getbootstrap.com/2.3.2/javascript.html#modals for bootstrap events and

327 for similar example for jquery