This is a migrated thread and some comments may be shown as answers.

Image within RadSideDrawer not shown since NativeScript 2.3.0

2 Answers 73 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marc
Top achievements
Rank 1
Marc asked on 26 Sep 2016, 03:52 PM

Hi,

I upgraded NativeScript to version 2.3.0 for our project today and I noticed, that I am not able to display an image within my RadSideDrawer anymore in Android & iOS, it is just white.

The app-code has not been changed, I just did the NativeScript upgrade via appbuilder mobileframework set 2.3.0 and now I don't know why the image is not displayed correctly, like it did before, when I was using version 2.1.0.

I am using the latest version of NativeScrript Telerik UI (1.4.1). I tried different images and I can see that it tries to load the image with the correct size, but it is always just white.

You can access a sample project in the following link:

Link to sample project

There are also two screenshots showing the SideDrawer how it should look like (until NativeScript 2.2.0) and how it looks like using version 2.3.0.

I hope that you can help me.

 

Thank you in advance and best regards.

 

 

 

2 Answers, 1 is accepted

Sort by
0
Nikolay Tsonev
Telerik team
answered on 27 Sep 2016, 06:36 AM
Hello,

Thank you for your interest in NativeScript.

I reviewed your problem and found that this is issue for when you display Image and you have setup color property for some of the .  if you have Image inside the StackLayout and you have set in the CSS 
StackLayout{
color:white;
}
this will affect the Image to and will be colored white. The problem has been logged here and will be available in the next NativeScript version. as a temporary  you could setup your project to use latest tns-core-modules for . To do that you could open your project in AppBuilder and follow the described steps here, where has been shown how to add in your project. When you have opened the Manage Packages panel you should select to search in npm.  In the search field you should search for -core-modules then you should first Uninstall the plugin and to Install it again by selecting the latest available version from the version dropdown menu which at the moment is 2.4.0-2016-09-26-4201.

I hope this information helps.

Regards,
nikolay.tsonev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Marc
Top achievements
Rank 1
answered on 27 Sep 2016, 09:54 AM

Hello Nikolay,

thanks for your help. Indeed, the white color in the image is caused by the css instructions in the surrounding StackLayout.

Best regards

Tags
SideDrawer
Asked by
Marc
Top achievements
Rank 1
Answers by
Nikolay Tsonev
Telerik team
Marc
Top achievements
Rank 1
Share this question
or