Skip to content

Commit

Permalink
re-trigger load events for img elements on commit
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gnoff committed Feb 28, 2022
1 parent a232744 commit ea891ce
Show file tree
Hide file tree
Showing 2 changed files with 606 additions and 18 deletions.
Loading

0 comments on commit ea891ce

Please sign in to comment.