Skip to content

Commit 086fa8e

Browse files
authored
re-trigger load events for img elements on commit (#23316)
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. Co-authored-by: Josh Story <story@hey.com>
1 parent a232744 commit 086fa8e

File tree

2 files changed

+606
-18
lines changed

2 files changed

+606
-18
lines changed

0 commit comments

Comments
 (0)