Closed cdbrkfxrpt closed 4 years ago
Hi @cdbrkfxrpt
It looks like load-photoswipe
is called twice. load-photoswipe.js
on your site seems to be an older version that doesn't yet have protection against being loaded twice (see here). Do you perhaps have load-photoswipe
in your theme somewhere too?
See issue #6 for more info too.
Hope this helps!
Thanks a dozen @EmielH - there was another include in the theme, I'm not sure if it is like this in the theme or I put it like this; likely the latter. Removing it seems to solve the issue.
Cheers!
Hi,
I'm using the beautifulhugo theme for our blog, and I'm having the following issue with it. I'll use one blog article as an example, but it's the same for all articles using the gallery. The article in question is here.
The problem is that - and you should be able to verify it by going there and trying - after the gallery has been opened and closed again, all links on the site are blocked. It is then necessary to reload the page to get it working again. This is on Firefox 81.0 and Chromium 83.0.4103.116 (Developer Build), running on Debian sid (but I see this problem on any OS).
On mobile (Firefox on Android, both latest versions) the entire site crashes after closing the gallery and isn't scrollable any longer. Again, reloading the page fixes this.
It would be great if you could have a quick look. Sorry if I'm overlooking something obvious. As for the code, it should be exactly in line with your documentation:
That is of course just the markdown I give to Hugo, but since I haven't otherwise changed your templates, that shouldn't be the issue. On the development server it seems the problem has disappeared; I can't reproduce it there any longer.
Best regards