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

2 files changed

Lines changed: 606 additions & 18 deletions

File tree

0 commit comments

Comments
 (0)