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/smartclient-latest/showcase/?id=comboboxMobileSample&skin=Shiva&fontIncrease=3&sizeIncrease=10

Please modify the test case as follows:

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:

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

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

We’ve isolated the cause of this problem and are working on a solution.

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

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!