compact / angular-bootstrap-lightbox

An AngularJS lightbox built using UI Bootstrap Modal.
http://compact.github.io/angular-bootstrap-lightbox/
MIT License
306 stars 134 forks source link

open modal auto top scroll at the first time #59

Open IcebergRage opened 8 years ago

IcebergRage commented 8 years ago

My photo wall is at the end of the page. (after 3/4 block) so when a user click on a picture, the modal open at the top (scroll top). when the user close the modal, he has to scroll back to the photowall.

Then, if he want to display the modal again, the modal open at the good position (when the user clicks).

Do you have any idea to disable the first scroll top ?