Topic: lightbox bug on chrome mobile

dron free asked 4 years ago


I have bought an MDB Pro license mostly for the lightbox gallery. However, when I test the lightbox on mobile chrome - when I change vertical to horizontal and back the lightbox picture gets offset from center and I can see part of the next lightbox picture. You can check it on your own sample.

I see that you use Photoswipe for Lighbox. I just checked - it seems the author have troubleshooted the matter. It makes correction of the position after orientation change.

Can you please tell how I can improve it using mdb pro?

I see that you use photoswipe v4.1.1, while on Photoswipe the current version is v4.1.3

screenshots: vertical orientation to horizontal on iphone7 chrome browser

screenshots: vertical orientation to horizontal on iphone 7 chrome


Mateusz Łubianka staff commented 4 years ago

Hi @dron,

I am trying to cause this error:

But it looks good here.


dron free commented 4 years ago

Hello Mateusz,

Can't open your link. Meanwhile updated the post with screenshots

Mateusz Łubianka staff commented 3 years ago

does this only happen on this device? I checked it on my phone and it works well.


dron free commented 3 years ago

iPad Air 2 iOS 13.3.1 Chrome browser - same bug. Can provide the screenshots - but it is almost the same as previous. Maybe you can advise if there is a way to integrate the latest version of Photoswipe inside mdb?

Mateusz Łubianka staff commented 3 years ago

I will create a task with this topic and our team will check it and if needed we will update Photoswipe version.


Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.14.1
  • Device: iphone 7
  • Browser: chrome
  • OS: ios
  • Provided sample code: No
  • Provided link: No