Image disposal removes ImageSource content event when directly passed to the component. #10625
Open
3 tasks done
Labels
Content-Length: 242950 | pFad | http://github.com/NativeScript/NativeScript/issues/10625
5AFetched URL: http://github.com/NativeScript/NativeScript/issues/10625
Alternative Proxies:
Issue Description
On iOS, I have an
ImageSource
that I want to pass to someImage
components:But when
Image
is disposed, it clears the content of the providedImageSource
(this.imageSource.ios = null;
), which makes it not reusable!NativeScript/packages/core/ui/image/index.ios.ts
Lines 29 to 41 in 0506012
Note that when
src
is anImageSource
, the_createImageSourceFromSrc
function does not create but just use the providedImageSource
NativeScript/packages/core/ui/image/image-common.ts
Lines 124 to 127 in 0506012
Reproduction
No response
Relevant log output (if applicable)
No response
Environment
No response
Please accept these terms
The text was updated successfully, but these errors were encountered: