Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ComboBoxItem with specialValues bug on iOS

    SmartClient Version: SNAPSHOT_v13.1d_2024-08-07/AllModules Development Only (built 2024-08-07)

    Safari on iPhone 8 (physical device)

    Hello, I've reproduced a bug that I first saw in my application, within the showcase https://www-demos.smartclient.com/sm...izeIncrease=10

    Please modify the test case as follows:

    Code:
    isc.DynamicForm.create({
        ID: "testForm",
        linearOnMobile: true,
        wrapItemTitles: false,
        fields: [
            {
                name: "filteredCombo", title: "Choose an item (ComboBox)", editorType: "ComboBoxItem",
                addUnknownValues: false,
                pickListPlacement: "fillScreen",
                optionDataSource: "supplyItem",
                displayField: "itemName", valueField: "itemID",
                specialValues: {"1661": "Punch 4 Hole Open Drill D-4"},
                separateSpecialValues: true
            }
        ]
    });
    As you may see I've added a special value (which actually exists in the ResultSet) and enabled separateSpecialValues.

    Firstly, there might be a small visual glitch in Shiva: I'm not sure if the shadow style below the special values is intended.

    The actual bug (which sometimes takes several tries to manifest) occurs as follows:
    - tap to open the comboBox
    - Scroll down through a significant number of records (not sure if this is necessary).
    - close the pickList
    - Reopen it: If you're (un)lucky, you'll only see the special value and an empty pickList. However, scrolling the list will reveal the records.

    You can see a video where this bug occurred three times:
    https://www.youtube.com/shorts/XsOu74KXxvI

    Here is a screenshot of the web inspector when the pickList records are not visible:

    Click image for larger version

Name:	2024-08-07 16.06.35.jpg
Views:	66
Size:	162.7 KB
ID:	273204

    And this is after scrolling, where the records become visible:

    Click image for larger version

Name:	2024-08-07 16.07.47.jpg
Views:	50
Size:	164.0 KB
ID:	273205

    #2
    We've isolated the cause of this problem and are working on a solution.

    Comment


      #3
      This should be fixed back to SC 12.1 in today's nightly builds dated 2024-08-20.

      Comment


        #4
        SmartClient Version: SNAPSHOT_v13.1d_2024-08-20/AllModules Development Only (built 2024-08-20)

        Hi, I confirm that I can no longer reproduce it. Thank you very much!

        Comment

        Working...
        X