Skip to content

Commit

Permalink
Update nonVisibleImage styles
Browse files Browse the repository at this point in the history
Using width: 1 and height: 1 ensures that onLoad will fire
  • Loading branch information
derekblank committed Jan 25, 2024
1 parent e71e4bf commit 70b003a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/mobile/image/style.native.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
}

.nonVisibleImage {
height: 0;
width: 0;
height: 1;
width: 1;
opacity: 0;
}

0 comments on commit 70b003a

Please sign in to comment.