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

Issue with responsive images and DPR on mobile #49

Open
alexpainter opened this issue Aug 9, 2017 · 1 comment
Open

Issue with responsive images and DPR on mobile #49

alexpainter opened this issue Aug 9, 2017 · 1 comment
Milestone

Comments

@alexpainter
Copy link

When responsive images are used with srcset, it looks as though images that are the right size are highlighted in blue (too small) and images that are too big are highlighted in green (OK) when emulating a mobile device with a high DPR in Devtools. I think this might be to do with using naturalWidth for the image element, rather than looking to naturalWidth of currentSrc - demo page here: https://www.alexrp.co.uk/nl/testresponse.html

@tabanliviu
Copy link
Contributor

Thanks a lot of the bug report. Will try and get this sorted for the 1.6.0 release

@tabanliviu tabanliviu added this to the 1.6.0 milestone Aug 9, 2017
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