facebook

ios 7 custom-list select problem: FIXED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #343216 Reply

    amc
    Member

    edited by Wayne – 20131024,
    The custom-list example has been updated to work correctly on ios7. Please see the revision notes

    i am using the code below to retrieve the selected item from a list (the basis for the code came from http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=1858)

        var selectedItem = $(event.srcElement).closest('li[data-listitem-index]');
        //get the master file key
        var key = $('#m1-listpick-key', $(selectedItem)).text();
        //get the master file desc
        var desc = $('#m1-listpick-desc', $(selectedItem)).text();
    

    In a web browser (chrome) & on an iphone with IOS6, it works perfectly.

    However, once the iphone is updated to IOS7, it fails,

    instead of returning single values for key & desc, it returns all the values that were in the list.

    so if my list is
    1 product a, 2 product b, 3 product c
    and i pick the second item
    the code returns 123 as key and product aproduct bprocuct c as desc.

    anyone seen anything similar or have a solution ?

    thanks

    Tony C

    #343243

    Hi amc,

    What mobione version are you using? If 2.5M2, what is the cordova version used?
    Could you share a small sample project that replicate the issue?

    #343258

    amc
    Member

    using 2.3.2, just going to try 2.5M2 now

    #343260

    amc
    Member

    updated to 2.5M2, same result.

    works perfectly in test center, browser & IOS5/6, but fails in IOS7.

    I try to create a sample project that demonstrates the problem.

    #343262

    amc
    Member

    no need to create a sample project, the error occurs in the custom list sample you provide at http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=1858

    created an app from the sample code using 2.5M2 http://goo.gl/7R5DPG

    you’ll see in the screen shot that i picked item 3, but the entire list of labels is returned instead of just the 3rd label

    Attachments:
    You must be logged in to view attached files.
    #343263

    NeoLaiSoon
    Member

    Hi Octavio,

    I do get the same issue since update to iOS7, the custom list example run prefect on iOS6 but NOT iOS7.

    Regards,
    Kelvin Neo

    Attachments:
    You must be logged in to view attached files.
    #343279

    support-michael
    Keymaster

    @innoreal @amc et al,

    Thanks for sharing this info. We tracked down the issue to a change in webkit that is present in iOS7 concerning how element IDs are processed. We will post an update asap.

    #343299

    @innoreal @amc et al,

    We plan to update the thread on monday or sooner.

    #343531

    amc
    Member

    wayne / octavio

    did this get solved yet ?

    #343592

    @innoreal @amc et al,

    We got bogged down assisting with getting mobione 2.5m3 shipped last week. We will provide an update tomorrow (tues). Short handed today with some people out sick.

    #343733

    NeoLaiSoon
    Member

    Hi Wayne / Octavio,

    Are you guys still working on this issue?

    Thank you!

    #343752

    support-michael
    Keymaster

    yes, we have a hack to workaround the problem. We have been working on a new listbuilder utility that massively simplies dynamic list creating but it will not be completed until after the 2.5 release next week. Given that we will post the hack shortly when Octavio is online.

    #343803

    support-michael
    Keymaster


    The custom-list example has been updated to work correctly on ios7. Please see the revision notes

    #343846

    NeoLaiSoon
    Member

    Hi Wayne,

    I tested it work fine on ip5/ iOS7.0.3, thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: ios 7 custom-list select problem: FIXED

You must be logged in to post in the forum log in