Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    This version is still beta and not released yet. Also the whole integration process is completely different – it’s more or less a complete new software and not just an upgrade.

    I also modified the existing code of Photoswipe 4 already to support certain options like custom mouse wheel options, full size in desktop mode etc.

    So – sorry, not yet. But maybe I add this as an option in the future.

    Thread Starter rsmith4321

    (@rsmith4321)

    I ask because the latest version of iOS has some issues with the older Photoswipe. If you have a recent iPhone it might be good to check it out. It’s jumpy, sometimes repeats images, and 2 finger zooming has issues. I don’t notice any issue on an iPad or Mac.

    Plugin Author Arno Welzel

    (@awelzel)

    Unfortunately I don’t have a recent iPhone and I also don’t know anyone who has.

    Is this also the case with the official demo at https://photoswipe.com?

    Thread Starter rsmith4321

    (@rsmith4321)

    Yes the official mostly acts the same. It kids of jerks and will sometimes repeat an image on swiping, when zooming some of the image will sometimes disappear and if you zoom in and try to move the image around it just collapse back and acts like you are trying to swipe to the next image. I could try to take a video. I just notice with the new beta examples on the site he seems to have taken care of these issues it’s very smooth, so hopefully it will be finished before too long.

    Plugin Author Arno Welzel

    (@awelzel)

    Thanks for the update. I understand your issue with this, but I’m relucatant to include a beta version to the official plugin now. Also keep in mind this notice from the Github repository:

    “The PhotoSwipe supports all browsers that support ES6 modules.

    Thus, it will not work in IE11, Opera Mini, UC browser, and old versions of Chrome, Safari and Firefox. Check your website/region statistics before deciding whether you should use PhotoSwipe or not.”

    About ES6 see here: https://caniuse.com/es6

    Anyway – I’m now aware of this issue and will provide an update in the future whenever possible.

    I just had a play around with this on an iPhone 12 mini / iOS 15.02 and an iPhone 8 / iOS 14.x and can report the following:

    Firstly, on jumpiness: Yes, on iOS 15, the official demo at https://photoswipe.com exhibits the jumpy — more jittery — behaviour, but the demo of the new beta version ( https://photoswipe.com/v5/docs/getting-started/ ) does it too, so an upgrade would not currently fix the jumpiness problem.

    iOS 14 doesn’t have the jitters.

    As background: The URL bar in iOS Safari minimises as you scroll down the page, because it becomes clear to the browser that you’re scrolling down and don’t need the URL bar. It re-maximises as you scroll up in a page (that is, moving your finger down) but only if you move beyond a certain distance/speed threshold. Do it slowly and it won’t reappear.

    The way photoswipe jitters while the URL bar sort-of-appears-sort-of-doesn’t makes me think that it’s actually iOS 15 / Safari that is causing it.

    iOS 15 moved the URL bar to the bottom of the screen. It was a dubious move IMO (if it ain’t broke…). Yeah, it’s more reachable, but the rest of the world is top down, so it’s more confusing than anything. Prior iOS versions had the URL bar at the top.

    In the lightbox, when you touch an image — to swipe, pinch, or vertically-dismiss — you are not scrolling up, but iOS/Safari 15 clearly thinks you are and it jitters as you get near its threshold — as it tries to work out whether you are scrolling towards the top of the page or not and whether to display the URL bar.

    In fact, in iOS 15 you will note that if you drag the image down just enough and slowly enough to make the URL bar appear, but not far enough or fast enough to dismiss the image, the jitters disappear — from then on, the URL bar is showing and iOS/Safari is no longer interested in jittering around.

    None of this happens in iOS 14. If the URL bar is minimised then it stays minimised while you swipe up and down; if maximised, it stays maximised.

    So I think the jumpiness is either:

    1. An iOS/Safari bug that will need fixing by Apple or

    2. In some way the lighbox is triggering scrolling behind the scenes; iOS 15 is more sensitive to it; and it could in any case be switched off somehow.

    It needs bringing to the attention of the developer, just in case it’s 2. @awelzel , I guess you are best placed to do this (I’m just some rando on the internet; you have standing ?? ).

    For what it’s worth, I just started up the Nextgen Pro demo ( https://www.imagely.com/wordpress-gallery-plugin/pro-lightbox-demo/ ), just because it’s popular. Here’s what I found:

    – NextGen / iOS 14: They seem to be doing a reload of the page or something, so the URL bar is always maximised at the top in the lightbox (even when it wasn’t maximised on the previous page), and thus there is no jumpy behaviour. Swiping up and down in iOS 14 does nothing to the URL bar with NextGen.

    – NextGen / iOS 15: The behaviour is jumpy and very clearly related to the url bar. They reload / cause the URL bar to appear but the URL bar tries to disappear and reappear as you swipe up and down, making the image jump up and down (and it’s much more jumpy than jittery, unlike Photoswipe). The image noticeably jumps up as the URL bar moves up /maximises — as if the image is centred vertically, excluding the URL bar, so when the URL bar moves up, reducing the visible page area, the image moves up too. (and opposite for down/minimises).

    This caused me to experiment with the Update browser history (going back in the browser will first close the lightbox) setting in the WordPress plugin. It makes no difference.

    As to the other issues that @rsmith4321 brought up:

    will sometimes repeat an image on swiping : I haven’t managed to reproduce this.

    when zooming some of the image will sometimes disappear : I’ve seen the whole image disappear with iOS 15 (but not with iOS 14), but not parts of images. Beta Photoswipe seems to fix this.

    if you zoom in and try to move the image around it just collapse back and acts like you are trying to swipe to the next image : I’ve reproduced this with iOS 15 (but not with iOS 14). Beta Photoswipe seems to fix this.

    Hope the above helps. We’re about to upgrade the iOS 14 phone, so won’t be able to help more on the iOS 14 side soon, but happy to help with more testing on iOS 15 if you need it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Photoswipe 5’ is closed to new replies.