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

horizontal scroll caused by certain lazy loaded images #83

Open
paulkirspuu opened this issue Feb 14, 2019 · 2 comments
Open

horizontal scroll caused by certain lazy loaded images #83

paulkirspuu opened this issue Feb 14, 2019 · 2 comments

Comments

@paulkirspuu
Copy link

problem:
horizontal scroll caused by certain lazy loaded images (identified these images by removing all images one by one in DOM)

workaround:
add data-no-lazy="1" to problematic images, but our editors should not have to investigate this by themselves, and insert this attribute by hand for images that break the page.

PS: when scrolling to the problematic image(s), data-was-processed="true" gets added to img element and horizontal scroll for the page disappears.

how to proceed?

@lkraav
Copy link

lkraav commented Feb 14, 2019

@paulkirspuu "certain lazy loaded images" is incredibly vague. You need to detail some common characteristics of these "certain images".

@remyperona
Copy link
Contributor

Was it tested with a default theme, and without other plugins?

What commonnalities the images impacted have?

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

No branches or pull requests

3 participants