Nelson Tan Nelson Tan - 1 month ago 7
HTML Question

Scrollreveal.js not working on modal

I tried using scrollreveal.js on

. But i'm having a problem revealing the content when modal is scroll. I've tried changing the viewport(see the code below both not working) to
but still not working. Thanks for your help. Here my fiddle and code. = new ScrollReveal({
viewport: $('#myModal');
}); = new ScrollReveal({
viewport: document.getElementById('myModal');

heres the fiddle:


you can check this fiddle mate = ScrollReveal();
sr.reveal('.foo', { container: '.modal-body' });