Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Bootstrap modal. #31

Open
pedramvdl31 opened this issue Jan 31, 2019 · 1 comment
Open

Not working on Bootstrap modal. #31

pedramvdl31 opened this issue Jan 31, 2019 · 1 comment

Comments

@pedramvdl31
Copy link

images that are in modal not being shown.

@pedramvdl31 pedramvdl31 changed the title No working on Bootstrap modal. Not working on Bootstrap modal. Feb 1, 2019
@Sebiworld
Copy link
Contributor

Hi @pedramvdl31 ,
you can manually call progressively's render function to make it work in bootstrap-modals. It has to be called after the modal is shown:

progressively.init();
$('#myModal').on("shown.bs.modal", function(e) {
	progressively.render();
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants