Image within RadSideDrawer not shown since NativeScript 2.3.0

3 posts, 0 answers
  1. Marc
    Marc avatar
    30 posts
    Member since:
    Oct 2013

    Posted 26 Sep Link to this post


    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. nikolay.tsonev
    nikolay.tsonev avatar
    40 posts

    Posted 27 Sep Link to this post


    Thank you for your interest in NativeScript.

    I reviewed your problem and found that this is global issue for NativeScript, when you display Image and you have setup color property for some of the parentFor example if you have Image inside the StackLayout and you have set in the CSS 
    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. However as a temporary solution you could setup your project to use latest tns-core-modules for npm. To do that you could open your project in AppBuilder and follow the described steps here, where has been shown how to add plugin 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 tns-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.

    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
  3. Marc
    Marc avatar
    30 posts
    Member since:
    Oct 2013

    Posted 27 Sep in reply to nikolay.tsonev Link to this post

    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

Back to Top