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

Lightbox jank #4

Closed
iplanwebsites opened this issue Mar 19, 2024 · 3 comments
Closed

Lightbox jank #4

iplanwebsites opened this issue Mar 19, 2024 · 3 comments

Comments

@iplanwebsites
Copy link

When clicking images, there's something pushing the entire layout right, creating some jank on the page during transition. It can probably be fixed with CSS.

To replicate, click the cat here:
https://nerdymomocat-templates.github.io/webtrotion-astro-notion-cms-website-blog/

@nerdymomocat
Copy link
Collaborator

It doesn't happen on my end; could you record your screen so that I can see what might be happening here?

Screen.Recording.2024-04-29.at.12.34.39.AM.mov

@iplanwebsites
Copy link
Author

Should be replicable easily. The issue is consistent in Chrome + Firefox + Safari + Brave (macos), but not present in Opera.
The entire page shift to the right when opening to lightbox, then get janked back in the center uppon closing the modal.

@nerdymomocat
Copy link
Collaborator

nerdymomocat commented Jul 8, 2024

Hi, unfortunately, I'm not well-versed enough in web development to solve this issue without seeing a replication and possibly some console errors. When I tested the website on Chrome and Safari, the issue didn't appear, making it hard for me to pinpoint the problem. If you figure out the cause, feel free to open a pull request. Currently, it's being loaded with a very simple glightbox call here.

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

2 participants