Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set property 'alpha' of null #87

Open
kakha13 opened this issue Nov 1, 2022 · 0 comments
Open

Cannot set property 'alpha' of null #87

kakha13 opened this issue Nov 1, 2022 · 0 comments

Comments

@kakha13
Copy link

kakha13 commented Nov 1, 2022

Error

***** Fatal JavaScript exception - application has been terminated. *****
NativeScript encountered a fatal error: Uncaught TypeError: Cannot set property 'alpha' of null
at
(file: @triniwiz/nativescript-image-cache-it/index.ios.js:258:0)

Problem

The problem occurs when I go to another page before the image loads

Platform iOS

Code Smaple

<ImageCacheIt id="image" ref="image" :decodedHeight="height * 1.5" :height="height * 1.5" transition="fade" :priority="0" @tap="openImage()" placeHolder="~/assets/holder.png" errorHolder="~/assets/holder.png" :opacity="imageOpacity" :src="landmark.img" stretch="aspectFit"></ImageCacheIt>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant