1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    39
    Vote Rating
    0
    danderson is on a distinguished road

      0  

    Default Unanswered: Pull Refresh with an empty result set

    Unanswered: Pull Refresh with an empty result set


    Is there a known issue that prevents the pull refresh plugin from functioning properly on a list backed by an empty store? When an empty dataset is returned, the 'x-list-pullrefresh' div does not get added to the 'x-list-parent' div. The pull refresh functionality still works, and if the subsequent refresh returns data, the 'x-list-pullrefresh' div is then added.

    this is using the 1.1.1 touch library.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,970
    Answers
    334
    Vote Rating
    134
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    I couldn't find any existing bugs in Jira. Nor with a quick search of google and the forums.
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Dec 2007
    Posts
    39
    Vote Rating
    0
    danderson is on a distinguished road

      0  

    Default Example Attached

    Example Attached


    http://jsfiddle.net/n9y7v/

    In the above example, the 'Populated' list behaves as expected. The 'Empty' list may or may not show the reloading indicator on the first attempt, but will subsequently not show it, and will leave space at the top of the panel.

Thread Participants: 1