Serious ListView issues

7 posts, 0 answers
  1. Nathanael
    Nathanael avatar
    6 posts
    Member since:
    May 2016

    Posted 26 Jul Link to this post

    Not sure if any of issues are on iOS also; as I haven't had a chance to test iOS yet. But using NS 2.1, w/ 1.2.0 of the NS-Telerik-UI on Android 4.4 geny emulator.
     So I here is what I want to do; swipe from the right and show a "Delete" button inside the list view row.
    I do NOT have anything to swipe from the other side; so

    1. I set swipeLimits.left = 68 * screenres; swipeLimits.threshold = 60 * screenres.
    -> Will allow me to swipe from the right of the screen; but the bar jumps back, no matter what values I set the left / threshold the screen jumps back to the same position obscuring part of the button.

    https://cloud.githubusercontent.com/assets/850871/17045509/7030dfa4-4f8f-11e6-8f2e-b0bf35982bb2.gif

    2. If I set swipeLimits.right = 0; to the above code then it won't even "lock".

    3. If I set swipeLimits.right = 68*screenres; then it actually locks where I want it to; but then now I can swipe from the left side of the screen to the right and show a nice empty spot. ;-(

    4. When you "undo" the slide by trying to drag it back; it looks horrible and very janky:
    -- Please note this occurs on BOTH sides of the screen; it appears like the slid control jumps to original position, then back to its slid position before starting to slide it back. In addition it appears you hide the underlying layout BEFORE the slide is done... It looks very bad.

    https://cloud.githubusercontent.com/assets/850871/17045526/99748c8a-4f8f-11e6-9856-ffb495b6e3dc.gif

    5. The buttons on the slid part of the interface is not clickable when it has been slid, nor does this part of the slid interface seem to register any observable updates... 

    6. The itemSwipeProgressStarted event only occasionally has the args.object; most the time it was missing.

    7. args.object (when present) never points to the actual sliding layout; but the new layout that is now going to show; how do I get access to the sliding layout. -- I would like to show those buttons disabled when slid since you can't click them.

    (6 & 7 are issues in v1.1.1, I just upgraded to v1.2; and so I haven't retested 6 & 7, but if you haven't fixed them in the v1.2 update; then they are still issues...)

  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 26 Jul Link to this post

    Hello Nathanael,

    Thanks for writing and for your feedback.

    The glitches that you describe are related to a couple of issues in RadListView. We have been able to reproduce most of the issues you report on our side and there's already a fix in our internal codebase.

    1. The issue with SwipeLimits not being interpreted correctly was due to a mismatch of the way these values were taken into account on Android. This has been fixed now and will be part of an upcoming update. It is also worth noting that you need to handle the swipeExecuteFinished event as well and set the `threshold` there for Android to work as expected. This is because of a specific behavior related to the native RadListView for Android on which RadListView for NS is based. I am now seeing that this is missing from the documentation and will update it accordingly.

    2. The animation glitch when undoing an item is a result of the way the swipe-to-execute feature is implemented in the native ListView for Android. We have logged this and will work on improving it soon.

    3. I have not been able to reproduce the issue with not being able to tap on the buttons behind the item's main content. Here's an example from our SDK project where this works as expected:

    https://github.com/telerik/nativescript-ui-samples/tree/release/sdk/app/listview/swipe-execute

    Take a look at the 'sticky-actions' scenario.


    I hope this is helpful.

    Regards,
    Deyan
    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. Nathanael
    Nathanael avatar
    6 posts
    Member since:
    May 2016

    Posted 26 Jul in reply to Deyan Link to this post

    " I have not been able to reproduce the issue with not being able to tap on the buttons behind the item's main content. Here's an example from our SDK project where this works as expected:"

    I'm not asking about clicking on the "Delete" button, that works;

    https://cloud.githubusercontent.com/assets/850871/17045526/99748c8a-4f8f-11e6-9856-ffb495b6e3dc.gif

    When I slide open the list item; I can't click on the "Lap" or "Start" button (i.e. main content), nor does the timer on the slide continue to display updates.   I expect the buttons on the slider to also continue to work; there is no reason that they shouldn't continue to work.   Or at worst case, if I could figure out how to get access to the main content slide, I could grey them out (my #6/7 in the above list).  

  4. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 27 Jul Link to this post

    Hi Nathanael,

    Thanks for writing back and for the further clarifications.

    I confirm that this is an issue. The reason for it:

    on Android once swiped, the main content of the item is displayed as an image, not actual Android view. For that reason you cannot interact with it.

    We are going to address this. For the time being, there is no workaround.

    Please excuse us for the inconvenience caused.

    Regards,
    Deyan
    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
  5. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 27 Jul Link to this post

    Hello Nathanael,

    One further point:

    Interaction with the main content of the swiped item is something that is not desirable from UX perspective. You will need to terminate the swipe action to be able to interact with the main content of the item. The problem with the UI not being updated is relevant though.

    Regards,
    Deyan
    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
  6. Nathanael
    Nathanael avatar
    6 posts
    Member since:
    May 2016

    Posted 27 Jul Link to this post

    1. Do we have a time table for any of these fixes?

    2.I suspected that you were creating an image; just based on how it acted.  Yeah, that really eliminates doing anything with the view...

    3. I would disagree with you on a "desirable" from a UX perspective.  In this specific case; I actually would like all three buttons still active (two existing, and new one shown).  In most cases I would agree with you; but this is one of those fun "exceptions" that it makes more sense to the user that those buttons still work...

    Nathanael A.

  7. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 27 Jul Link to this post

    Hi,

    1. We're planning the next release to be during the second week of August. I cannot commit that we will be able to address this by then but it will surely be included in our next iteration.

    2. The Image problem will be eliminated once we refactor the behavior.

    3. While architecturing the new approach to solving the swipe-to-execute problem, we will allow for disabling/enabling interaction with the dragged item.

    Regards,
    Deyan
    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
Back to Top