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

fix(next/image): do not pass-through srcSrc on lazy image #20651

Merged
merged 2 commits into from
Dec 31, 2020

Commits on Dec 31, 2020

  1. fix(next/image): do not pass-through srcSrc on lazy image

    This PR fixes a bug where we'd accidentally pass-through the user-provided `srcSet` if the image was lazy, just to then replace it when we hydrate.
    
    ---
    
    Fixes vercel#19041
    Timer committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    d851b1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc12dd5 View commit details
    Browse the repository at this point in the history