Psycojoker / prosopopee

a static website generator to make beautiful customizable pictures galleries that tell a story
http://prosopopee.readthedocs.org
GNU General Public License v3.0
318 stars 55 forks source link

image currently in view is moved 50% down while lazy loading #122

Closed gangelop closed 3 years ago

gangelop commented 3 years ago

It looks like this: 2020-09-20-1600557358_1920x1080 Once lazy loading is finished, the image returns in full view. When you move to the next image it does the same while the others are being loaded.

I hate this bug because:

Anybody out there pls help! I was able to fix all the other bugs that annoyed me (see pull requests). But it would be nice to have help with this one.

gangelop commented 3 years ago

This issue is resolved by updating to https://github.com/feimosi/baguetteBox.js/releases/tag/v1.11.1

halloleo commented 3 years ago

Thanks for the tip in the follow up, @gangelop! I just start using prosopopee and this bug annoyed me too. The new baguetteBox fixes it for me as well.

gangelop commented 3 years ago

@halloleo I'm so happy this is solved! \o/

@Psycojoker I'm not sending a PR for this one because it would be the same amount of work for you to compare the minified js to my PR for review compared to doing it yourself. So this is a gentle reminder for an easy fix of updating baguetteBox to v.11.1 to fix this issue.

Thanks for reviewing and merging all my other PRs. Have a nice week.

Psycojoker commented 3 years ago

@gangelop that's done and I've release a 1.1.1 with it :) (and a 1.1 yesterday)

Psycojoker commented 3 years ago

Closing therefor, don't hesitate to reopen if needed

halloleo commented 3 years ago

Hi have just tried the newest release 1.1.1 from pypi, but it does not seem to incoroprate a new baguetteBox.js:

The baguetteBox.min.css files are different too.

Psycojoker commented 3 years ago

That's really weird because this is not what the commit is saying:

image

I might have made a mistake using twine when uploading the package (second time I'm using it)

Psycojoker commented 3 years ago

So, turns out, setup.py has bad caching for wheel generation in the "build/" folder which doesn't detect file differences for some reason (but only for the wheel, the tar.gz archive is correct), I've made a new release with the correct files, thx for repporting this bug :)

halloleo commented 3 years ago

I have installed the latest release fro pypi (prosopopee 1.1.2) and baguetteBox works now correctly.

Thanks heaps for fixing this, @Psycojoker!