angular-lazy-img icon indicating copy to clipboard operation
angular-lazy-img copied to clipboard

Should be better to load images that are “in view” and “visible”?

Open rmariuzzo opened this issue 9 years ago • 4 comments

I have the following scenario: a page with thousands of images distributed in tenths of nested <li>s. By default, these <li>s are hidden, but “in view” because its parent element (<ul>) is.

I think instead of only loading images that are “in view” we should also constraint to those that are “visible”.

What do you think?

rmariuzzo avatar Nov 26 '15 20:11 rmariuzzo

Yeah, I agree. It totally makes sense. I'm overwhelmed with amount of tasks that I took at work right now but during Christmas break I will have some time to look at it.

Pentiado avatar Nov 30 '15 15:11 Pentiado

Cool! I have made some changes on a separate branch, I will propose a PR for it.

rmariuzzo avatar Nov 30 '15 16:11 rmariuzzo

Had you prupose your modifications on PR ?

jup31 avatar Mar 29 '16 06:03 jup31

+1

daangeerdink avatar May 13 '16 19:05 daangeerdink