Skip to content

Commit ab7e91c

Browse files
committed
fix(ios): placeholder not set when no src
1 parent 8e4fe30 commit ab7e91c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/image.ios.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ export class Img extends ImageBase {
460460
this.onLoadProgress,
461461
this.handleImageLoaded
462462
);
463+
} else if (this.placeholderImage) {
464+
this._setNativeImage(this.placeholderImage);
463465
} else {
464466
this._setNativeImage(null);
465467
}

0 commit comments

Comments
 (0)