Closed L8D closed 8 years ago
This looks great! Somebody made the images lazily load on scroll so we're not attempting to request 150 images (I think chrome only does like 6 at a time anyway). I'll take a looksie and make sure we're not killing perf on some devices. Though, scrolling on iOS as it currently stands is already janky
I wonder if there's a simple way to implement it where the first dozen images are inlined and the rest are loading on appear. It'd just come down to a conditional check in handlebars
This PR breaks IE10's click target (you can't click the image to go to the restaurant)
@john I couldn't reproduce locally but I've added pointer-events: none
to the gradient just in case.
Now only the first 12 restaurants are pre-loaded. This branch is good to go
Looks great! And still works nicely in IE9
style="background-image: url('{{filepicker list_photo_url}}');"
)