Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML lightboxes not positioned in center on tablets #295

Closed
ninetyninew opened this issue Oct 17, 2021 · 4 comments
Closed

HTML lightboxes not positioned in center on tablets #295

ninetyninew opened this issue Oct 17, 2021 · 4 comments

Comments

@ninetyninew
Copy link

ninetyninew commented Oct 17, 2021

Describe the bug
When using a tablet and trying to display a HTML lightbox the lightbox is not centered.

Are you able to reproduce the bug in the demo site
Yes

To Reproduce
Steps to reproduce the behavior:

  1. Turn on chrome debugger responsive and select iPad
  2. Go to https://biati-digital.github.io/glightbox/#examples
  3. Click the first image under "Iframes and Inline Elements" heading (woman looking off to right with sky background)
  4. See that lightbox is not centered

Expected behavior
Lightbox is centered for tablets, same as other views

Post the code you are using
None - demo site

Screenshots
image

Device:

  • Device: iPad
  • OS: Version included with Chrome Debugger
@gingerchew
Copy link
Collaborator

Hey there @ninetyninew,

Thanks for submitting this bug report! The emulator in Chrome doesn't actually use any OS, so if you just let us know if this was on windows/Mac/Linux, that can help us out.

Can you give the dimensions that you found this on? I see in the picture it is on the iPad Pro (768x1024), did you notice it on other screen sizes?

@ninetyninew
Copy link
Author

@Frankie-tech Hi this was set to iPad (iPad Pro seems okay and centered) - maybe it's purely a Chrome Debugger or 768px browser width issue issue (I don't have a physical device to test on). I am using Chrome Debugger on Ubuntu 20.04.3 LTS.

@biati-digital
Copy link
Owner

This should be fixed in 3.2.0

@ninetyninew
Copy link
Author

ninetyninew commented May 16, 2022

@biati-digital just a note here, that this appears to be fixed now when testing on an iPad, however if we test on an iPad Mini its off center and you cannot see the arrows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants