Each row takes up the whole page

10 posts, 0 answers
  1. Tim
    Tim avatar
    6 posts
    Member since:
    Mar 2016

    Posted 22 Apr Link to this post

    I have a ListView in my app to display a list of items and each item is taking up the whole page. I've tried pulling in a simple basic dataset on a testapp and things work ok there, so it is something in my app that is causing this to happen. I've setup a test page in the app (avoiding all the other code/pages) but it is still problematic. Could there be a conflict with another plugin?

    Using {N} 1.7.1 and RadListView 1.0.1

     

  2. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 25 Apr Link to this post

    Hello Tim,

    Thanks for writing.

    Could you simply ZIP your project along with the platforms and attach it here for further investigation?

    Thanks!

    Regards,
    Deyan
    Telerik
    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. DevCraft banner
  4. Tim
    Tim avatar
    6 posts
    Member since:
    Mar 2016

    Posted 25 Apr Link to this post

    Hi Deyan

    I'll do that later. But I've found that this problem happens when I'm pulling data from an API (using fetch) and returning a promise. It seems that the RadListView is laid out before the data has arrived and then doesn't adapt after the data has been filled in.

    I assume that the GridView around the RadListView is there to provide a couple of layers for the highlight and those layers are being formed too large.

    cheers, Tim

  5. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 25 Apr Link to this post

    Hi Tim,

    Thanks!

    A working project will be very useful since we tried to reproduce this issue on our side without success. Once we have your project we will debug it right away and provide a fix.

    Regards,
    Deyan
    Telerik
    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
  6. Tim
    Tim avatar
    6 posts
    Member since:
    Mar 2016

    Posted 25 Apr Link to this post

    Do you have access to code that is in the AppBuilder?

    Creating a minimal app to trigger this problem is difficult, but I do have the code up on AppBuilder if that works for you?

     

  7. Tim
    Tim avatar
    6 posts
    Member since:
    Mar 2016

    Posted 26 Apr Link to this post

    Hi

    Sorry it took me a while, it wasn't easy to create a simple demo project, but find one attached.

    This exhibits the problem on my setup, but when I remove the nativescript-snackbar plugin then the problem disappears. But on my full project it appears to be an interference with other plugins as well.

    I hope you can fix this as I'm not sure of where to take the project.

  8. Tim
    Tim avatar
    6 posts
    Member since:
    Mar 2016

    Posted 26 Apr in reply to Deyan Link to this post

    Deyan said:

    Could you simply ZIP your project along with the platforms and attach it here for further investigation?

    It's not possible to upload zip files to this forum...

  9. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 28 Apr Link to this post

    Hi Tim,

    Dropbox would also be perfect.

    We will try to reproduce on our side too.

    Since we're releasing a new version today, we will not be able to include a fix for it but will do our best to address this in the next update.

    Regards,
    Deyan
    Telerik
    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
  10. Tim
    Tim avatar
    6 posts
    Member since:
    Mar 2016

    Posted 29 Apr in reply to Deyan Link to this post

    I've opened a ticket against it, which includes a sample project package. I think the ticket # is 1030203

    New version? Is this the fabled V2.0.0?

  11. Bulent
    Admin
    Bulent avatar
    29 posts

    Posted 29 Apr Link to this post

    Hi Tim,

    I've checked the project and will investigate it in depth with Deyan next week.
    The new version 1.1.0 of NativeScript UI is released yesterday with Angular support for ListView and SideDrawer and lots of fixes. The NativeScript runtimes and core modules are updated to version 2.0.0 2 days ago too.
    You can safely update your project and take advantages of new version.

    Regards,
    Bulent
    Telerik
    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
Back to Top
DevCraft banner