Commit 9682008
committed
fix(image loader): clear src and srct on changes and pre load image
prevents rendered image being reused when inputs change1 parent bc4bacf commit 9682008
File tree
2 files changed
+9
-0
lines changed- src/app/image-loader/image-loader
2 files changed
+9
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
221 | 227 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
343 | 345 | | |
| 346 | + | |
344 | 347 | | |
345 | 348 | | |
0 commit comments