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 82e04e7
Show file tree
Hide file tree
Showing 2 changed files with 611 additions and 18 deletions.
Loading

0 comments on commit 82e04e7

Please sign in to comment.