MatteoGabriele / vue-progressive-image

Vue progressive image loading plugin
https://matteo-gabriele.gitbook.io/vue-progressive-image/
MIT License
721 stars 43 forks source link

Duplicate image after filtering tags/category/searchs #61

Closed AnonimBella closed 5 years ago

AnonimBella commented 5 years ago

Here's a preview of bugs: image

That's preview after I filter tags/category/searches via ajax. I use Vue, and filter in same pages using ajax. The content (title & caption) displayed is correct (no duplicate), but only the real image is duplicate. Even when I check through inspectelement, the progressive img placeholder source is correct.

Is it because of cache?

And when I force to refresh with the same url, there is no problem. Here's the previews: image

I'm really confused. I don't want to change the library,

MatteoGabriele commented 5 years ago

Could you recreate this on a repository so I can have a look? Thanks :)

AnonimBella commented 5 years ago

Sorry this projects already published in production live, so I cannot give an access. The feature in landing page. You can test by click the tags which background is green, or click the category, or search something on the page.

MatteoGabriele commented 5 years ago

hey @AnonimBella sorry but I didn't mean to have access to a private project, is not what I need. You need to create a brand new project, with a very basic configuration and reproduce the same behavior that you are having so that I'm sure that is not your code doing something strange and that I can easily have your same problem and I can probably fix it easier.

A reproduction of a bug is very important for me, otherwise it's very hard to understand.

Cheers

AnonimBella commented 5 years ago

Oh ok, I will create repo. I will inform you again if i already create it.

AnonimBella commented 5 years ago

Hi! @MatteoGabriele I have solved this issue. There is something wrong with my code, it's function of route query. Sorry for waste your time, thanks :)