Skip to content

Adding use case for managing source swapping #58

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

Merged
merged 4 commits into from
Jul 29, 2015

Conversation

Lletnek
Copy link
Contributor

@Lletnek Lletnek commented Jul 28, 2015

breakpoint, there is a delay while the image is loaded. Any CSS which
matches the breakpoint applies itself. However, we're stuck with the
previous image while the new one loads. If we had a JavaScript event
fire when the new image is loaded, loadstart for example. The user
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want to avoid talking about a solution here, just the problem you're trying to solve.

When a new image is loaded via <source> after hitting a new
breakpoint, there is a delay while the image is loaded. Any CSS which
matches the breakpoint applies itself. However, we're stuck with the
previous image while the new one loads. This can result in blurry
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you s/we're stuck with the previous image/the previous image still displays/?

@yoavweiss
Copy link
Member

Cool. Now, if you can just address #58 (comment) we're good to go :)

@yoavweiss
Copy link
Member

LGTM

yoavweiss added a commit that referenced this pull request Jul 29, 2015
Adding use case for managing source swapping
@yoavweiss yoavweiss merged commit ebd8e00 into ResponsiveImagesCG:gh-pages Jul 29, 2015
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

Successfully merging this pull request may close these issues.

2 participants