-
Notifications
You must be signed in to change notification settings - Fork 22
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
Nativescript 4 support #50
Comments
I had the same it will still work... If you want to get rid of the error message you can replace this in
I guess it would be best if this would be replaced in the repo indeed. |
I'm testing it but the image does not show. No error messages, any logs. I'm clueless. |
I had to make sure that the parent element had the width/height set before it showed. Hope that helps. Otherwise post some code to people can have a look at it... I am using NS 4.1 which is working fine for me. |
Thank you, I just found this out. If I set the |
Why not just set the parent's height to 100% and then WebImage will set its own size like Image would do. |
It is in a I want to test the plugin more, but now I'm getting really strange errors, I cannot make it run. |
Ok it works now. It shows the image with 1px height. I really need automatic height in this case. |
Just now I ran into something similar and saw that it is because if you don't set a height this plugin will just get the screen height (instead of calculating the available height of the parent element). I solved it doing something like below, but I guess it would be better if this plugin would take care of it.
|
I'm trying to use this plugin. I get an error right at installation.
The text was updated successfully, but these errors were encountered: