question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to use vue-lazyload with sort or filter function

See original GitHub issue

Hello I am using vue-lazyload for my shopping card project. vue-lazyload is used to display preview image in each item card. It runs well when every item cards are loaded at the first time. However, when i use my own sort or filter function to re-display the cards following orders such as newest oldest, the image in each card does not reload again to display correctly.

Do you have any solution for this? Thank you so much for your help.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
vonlyinnocommented, Jan 6, 2020

this option works! observer: true

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - how to use vue-lazyload with sort or filter function -
Hello I am using vue-lazyload for my shopping card project. vue-lazyload is used to display preview image in each item card.
Read more >
VueJS Lazy Loading, Search & Sorting | by Scalable Scripts
In this article you will learn how to filter, paginate and sort using VueJS. We will compare Frontend and Backend API Filtering with...
Read more >
Lazy Loading Images with Vue.js Directives and Intersection ...
The hook function allows us to fire a custom logic at a specific moment of a bound element lifecycle. We use the inserted...
Read more >
Lazy loading or pagination for a lot of elements? : r/vuejs
I now need to create a sort and search filter function for them. What would be the suitable approach to implement the said...
Read more >
Create a lazy-loading image component for faster Vue.js apps
Should function as a drop-in replacement for <img> tags · Lazy-load images when they scroll into view · Shows a placeholder while the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found