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

Handle HTML Element onLoad events properly when they fire before React onLoad handlers have been attached #23316

Merged
merged 1 commit into from
Feb 28, 2022

Commits on Feb 28, 2022

  1. re-trigger load events for img elements on commit

    early load events will be missed by onLoad handlers if they trigger before the tree is committed
    to avoid this we reset the src property on the img element to cause the browser to re-load
    the img.
    gnoff committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    ea891ce View commit details
    Browse the repository at this point in the history